Bug 442234

Summary: Sort menu dropdowns should use radio buttons
Product: [Applications] Elisa Reporter: Nagy Tibor <xnagytibor>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED FIXED    
Severity: normal CC: jackhill3103, nate, postix
Priority: NOR Keywords: usability
Version: 21.08.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Radio buttons on the Track sort menu using RadioDelegate and RadioButton
This menu in Discover

Description Nagy Tibor 2021-09-09 16:34:52 UTC
SUMMARY
Currently the sort menu dropdowns at the page headers use checkbox controls. They are not appropriate there because sorting options are mutually exclusive options. They should be converted into radio buttons.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3
Comment 1 Jack Hill 2022-01-04 18:24:40 UTC
Created attachment 145113 [details]
Radio buttons on the Track sort menu using RadioDelegate and RadioButton

This is doable by changing MenuItem to RadioButton/RadioDelegate in SortMenu.qml.
Unfortunately RadioButton loses the padding and RadioDelegate places the radio buttons on the right rather than on the left.
Comment 2 Nagy Tibor 2022-01-10 18:16:42 UTC
Created attachment 145304 [details]
This menu in Discover

How does Discover implement this? It also has a similar menu that seems to work okayish and only has a minimally borked metrics.