Bug 358028

Summary: Wifi status not updated if adapter gets shut off from some other program
Product: [Plasma] plasma-nm Reporter: Max Schettler <max.schettler>
Component: appletAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: minor CC: lukas, max.schettler
Priority: NOR    
Version: 5.5.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: http
Latest Commit: Version Fixed In:

Description Max Schettler 2016-01-15 15:05:58 UTC
On my laptop I use a tool that shuts down the wifi adapter once an ethernet cable is plugged in.
In plasma-nm the wifi indicator is however still enabled. If I want to enable my wifi adapter after plugging in a cable again I need to click the box twice (first to "turn it off" and then to turn it on again.

Reproducible: Always

Steps to Reproduce:
1. Have plasma-nm with an online wifi adapter. In plasma-nm the top-left box should be enabled.
2. Use rfkill to block the wifi device

Actual Results:  
Plasma-nm still shows the wifi device to be active

Expected Results:  
Plasma-nm should show that wifi is blocked, indicated by the checkbox being disabled.
Comment 1 Jan Grulich 2016-01-18 15:28:22 UTC
Git commit f4f0e01df52f07bfc8017b58e2193316ed9ac0d7 by Jan Grulich.
Committed on 18/01/2016 at 15:27.
Pushed by grulich into branch 'master'.

Workaround broken bindings when enabling/disabling devices using rfkill

REVIEW:126795

M  +5    -0    applet/contents/ui/Header.qml
M  +0    -4    applet/contents/ui/PopupDialog.qml
M  +20   -0    applet/contents/ui/Toolbar.qml

http://commits.kde.org/plasma-nm/f4f0e01df52f07bfc8017b58e2193316ed9ac0d7
Comment 2 Jan Grulich 2016-01-18 15:30:05 UTC
Git commit fc1a6599de071ad50df9dc063067a1a652583c0b by Jan Grulich.
Committed on 18/01/2016 at 15:29.
Pushed by grulich into branch 'Plasma/5.5'.

Workaround broken bindings when enabling/disabling devices using rfkill

REVIEW:126795

M  +5    -0    applet/contents/ui/Header.qml
M  +0    -4    applet/contents/ui/PopupDialog.qml
M  +20   -0    applet/contents/ui/Toolbar.qml

http://commits.kde.org/plasma-nm/fc1a6599de071ad50df9dc063067a1a652583c0b
Comment 3 Max Schettler 2016-01-18 15:31:02 UTC
Thanks for the fix.