Bug 358028 - Wifi status not updated if adapter gets shut off from some other program
Summary: Wifi status not updated if adapter gets shut off from some other program
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: 5.5.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Jan Grulich
URL: http
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-15 15:05 UTC by Max Schettler
Modified: 2016-01-18 15:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.