Bug 507533

Summary: Display switches for checkable menu items, not checkboxes
Product: [Plasma] Breeze Reporter: Fernando M. Muniz <fernandommuniz>
Component: QStyleAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kdedev, nate, noahadvs, uhhadd
Priority: NOR Keywords: usability
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: This should be a toggle, given that both can't be enabled at the same time.

Description Fernando M. Muniz 2025-07-27 01:44:48 UTC
Created attachment 183553 [details]
This should be a toggle, given that both can't be enabled at the same time.

STEPS TO REPRODUCE
Right-Click on the networks widget.

OBSERVED RESULT
You see two radio buttons, Wi-Fi and Plane mode, but you can't have both.

EXPECTED RESULT
It should be a vertical toggle instead.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-07-31 20:02:52 UTC
I confirm this on git-master
Correction: The right click menus have checkboxes, not radio buttons (which would be correct for a list where only one option can be selected)

Checking Airplane Mode disabled WiFi  and removed that checkbox from the right click menu
In the pop up, these are correctly toggles
Comment 2 Nate Graham 2025-09-23 18:16:05 UTC
Unfortunately we don't have the ability to display switches in menus yet. Only checkboxes are supported for the time being. This will require many changes everywhere. I doubt we'll see it in my lifetime TBH.
Comment 3 Nate Graham 2025-09-23 18:17:56 UTC
Actually now that I think about it, there's probably a simpler approach: change the *styling* in menus so that checkable menu items get a UI widget that looks like a switch, not a checkbox. Pretty much all menu items are instant-apply, so this would work, or at least be much less wrong than all of them being checkboxes.