Bug 393074 - Checkbox to enable/disable the wi-fi adapter available in the network applet is not working correctly
Summary: Checkbox to enable/disable the wi-fi adapter available in the network applet ...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-12 21:28 UTC by Patrick Silva
Modified: 2018-08-08 19:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
demonstration (520.62 KB, video/webm)
2018-08-02 20:24 UTC, Patrick Silva
Details
dbus-monitor (29.64 KB, text/plain)
2018-08-06 12:36 UTC, Patrick Silva
Details
dbus-monitor OpenSuse krypton (29.93 KB, text/plain)
2018-08-08 16:04 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-04-12 21:28:07 UTC
reproducible on neon dev unstable

connect to a wireless network
click wireless icon in system tray
uncheck wireless checkbox on top (now your connection is offline)
check the same checkbox
your wi-fi is online again but the checkbox remains unchecked
Comment 1 Patrick Silva 2018-08-02 20:23:32 UTC
Bug persists in plasma 5.13.4, see the screencast recorded on neon dev unstable.
I click the checkbox on top, my wi-fi adapter is disabled and no wi-fi network is available anymore, as expected.
When I click the checkbox again, the wi-fi adapter is re-enabled and all wi-fi connections are listed, as expected. However the checkbox remains unchecked.
Comment 2 Patrick Silva 2018-08-02 20:24:13 UTC
Created attachment 114275 [details]
demonstration
Comment 3 Jan Grulich 2018-08-06 11:10:31 UTC
I still cannot reproduce this. Can you run "dbus-monitor --system" in a terminal and reproduce the issue and then attach here output from there?
Comment 4 Patrick Silva 2018-08-06 12:36:54 UTC
Created attachment 114324 [details]
dbus-monitor
Comment 5 Jan Grulich 2018-08-06 12:39:44 UTC
Did you enable wireless after you disabled it? In the log I see twice it has been disabled, but not enabled. Either you didn't enable it or NM doesn't correctly propagate this change which would explain your problem.
Comment 6 Patrick Silva 2018-08-06 12:44:28 UTC
I followed exactly the same steps shown in my screencast.
Comment 7 Jan Grulich 2018-08-07 10:15:07 UTC
What is your NetworkManager version? I think that the problem is in NetworkManager given the information it sends us over DBus.
Comment 8 Patrick Silva 2018-08-08 13:24:02 UTC
network manager 1.2.6-0ubuntu0.16.04.2 on neon dev unstable.
Comment 9 Jan Grulich 2018-08-08 13:25:56 UTC
Ok, a bit old NM version. I would suggest try with latest one and report this bug to NM if you verify it's still reproducible.
Comment 10 Patrick Silva 2018-08-08 15:59:42 UTC
Bug is reproducible on OpenSuse krypton running network manager 1.10.10-2.1.
Comment 11 Patrick Silva 2018-08-08 16:04:09 UTC
Created attachment 114377 [details]
dbus-monitor OpenSuse krypton
Comment 12 Jan Grulich 2018-08-08 19:28:04 UTC
Same situation, all we get from NM is that wireless is disabled. Report your issue to NetworkManager please.