Bug 399993

Summary: Hide airplane mode checkbox if no wireless device is available
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Networks widgetAssignee: Jan Grulich <jgrulich>
Status: RESOLVED FIXED    
Severity: normal CC: jgrulich, nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2018-10-18 15:48:35 UTC
Airplane mode checkbox is preset in plasma-nm applet when I use a desktop computer with no wireless device. Such checkbox should only be present if the computer has some wireless device.


SOFTWARE VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.14.1
Qt Version: 5.12.0 beta2
KDE Frameworks Version: 5.51.0
Kernel Version: 4.18.14-arch1-1-ARCH
Comment 1 Nate Graham 2018-10-18 19:28:53 UTC
The functionality is useful though. Maybe we just need to present it differently?
Comment 2 Jan Grulich 2018-11-26 14:49:24 UTC
I guess it's basically useless when there is no wifi, modem or a bluetooth. I'll look into it.
Comment 3 fire f. 2018-12-24 00:57:05 UTC
while it is desirable to unclutter the system tray of useless stuff, I found that most software which tries to be "intelligent" usually fails badly at it.

I am afraid that if some Auto-magic hides the airplane icon, it will make it disappear even in cases where on needs the airplane.

I just saw it happen over and over, hence my negativity about this kind of thing.
Comment 4 Jan Grulich 2019-07-25 05:33:40 UTC
Git commit 7dd740aa963057c255fbbe83366504bbe48a240e by Jan Grulich.
Committed on 25/07/2019 at 05:33.
Pushed by grulich into branch 'Plasma/5.16'.

Airplane mode improvements

Summary:
- make the airplane mode to persist reboot/suspend or plasma restart
- make the airplane mode to disable/enable BT devices
- make the airplane mode hidden when there is no Wireless or Wwan device
Related: bug 400535, bug 405447

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22680

M  +10   -2    applet/contents/ui/Toolbar.qml
M  +1    -0    applet/contents/ui/main.qml
M  +32   -0    libs/configuration.cpp
M  +5    -0    libs/configuration.h
M  +2    -17   libs/declarative/connectionicon.cpp
M  +0    -6    libs/declarative/connectionicon.h
M  +2    -3    libs/handler.cpp

https://commits.kde.org/plasma-nm/7dd740aa963057c255fbbe83366504bbe48a240e
Comment 5 Ben Cooksley 2024-12-23 18:26:00 UTC
Bulk transfer as requested in T17796