After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709635 - GNOME suggests that wifi killswitch can be disabled by software only
GNOME suggests that wifi killswitch can be disabled by software only
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: network-indicator
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-08 12:34 UTC by Kamil Páral
Modified: 2013-10-08 20:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
NetworkMenu: fix wireless-enabled property notifications (2.05 KB, patch)
2013-10-08 19:32 UTC, Giovanni Campagna
committed Details | Review
NetworkMenu: hide the "Turn On" item when the rfkill is hardware blocked (1018 bytes, patch)
2013-10-08 19:32 UTC, Giovanni Campagna
committed Details | Review

Description Kamil Páral 2013-10-08 12:34:28 UTC
This is a polish bug that I spotted during reporting bug 709634. In previous GNOME releases if I enabled wifi killswitch (hardware off), the wifi menu item said "hardware disabled" (or something similar). It was clear that it could not be operated by software only and some other action is required.

In GNOME 3.10, the menu says Off, the as with software-disabled wifi. But when I click on Turn On, nothing happens. That will probably confuse some people. It would be much better if it said "hardware disabled" as in GNOME 3.8 and there was no Turn On at all.

Please see attachment 256728 [details] from bug 709634.

gnome-shell-3.10.0.1-1.fc20.x86_64
NetworkManager-0.9.9.0-12.git20130913.fc20.x86_64
Comment 1 Giovanni Campagna 2013-10-08 19:19:56 UTC
The "Hardware disabled" status is bug 709043 (has patches, blocked by string freeze).

Let's leave this one only for hiding "Turn on" when hw rfkilled.
Comment 2 Giovanni Campagna 2013-10-08 19:32:19 UTC
Created attachment 256757 [details] [review]
NetworkMenu: fix wireless-enabled property notifications

The property is on the NMClient, not NMDevice. Also, make sure
we disconnect the signal when the item is destroyed.
Also, connect to wireless-hardware-enabled, which we'll use soon.
Comment 3 Giovanni Campagna 2013-10-08 19:32:24 UTC
Created attachment 256758 [details] [review]
NetworkMenu: hide the "Turn On" item when the rfkill is hardware blocked

If wifi is disabled in hardware, there is nothing we can do at
the sw level, so hide the menu item.
Comment 4 Jasper St. Pierre (not reading bugmail) 2013-10-08 19:55:07 UTC
Review of attachment 256757 [details] [review]:

OK.
Comment 5 Jasper St. Pierre (not reading bugmail) 2013-10-08 19:55:13 UTC
Review of attachment 256758 [details] [review]:

OK.
Comment 6 Giovanni Campagna 2013-10-08 20:46:04 UTC
Attachment 256757 [details] pushed as 8a8b3bf - NetworkMenu: fix wireless-enabled property notifications
Attachment 256758 [details] pushed as a6fb3ac - NetworkMenu: hide the "Turn On" item when the rfkill is hardware blocked