Bug 494556

Summary: Create a new partition: Selecting permissions radio button with the keyboard focuses wrong option
Product: [Applications] partitionmanager Reporter: LaughingMan <lingm+kdebugs>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description LaughingMan 2024-10-11 17:01:02 UTC
STEPS TO REPRODUCE
1. Open the "Create a new partition" dialogue
2. Pres tab until the focus is on the "Permissions" radio button.
3. Press upward arrow to switch from "Only Root" to "Everyone"

OBSERVED RESULT
Nothing happens because the focus is on the unselected "Everyone" option already. You have to press downward arrow once to sync up the focused option with the selected option.

EXPECTED RESULT
When focusing the permissions field with tab, the focus automatically goes to the selected option. Focus currently appears to go to the first option instead.

SOFTWARE/OS VERSIONS
Linux: Kernel 6.11.3
KDE Plasma: 6.2.0
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Comment 1 Andrius Štikonas 2024-10-11 21:14:41 UTC
This is how all Qt radioboxes work.
Comment 2 LaughingMan 2024-10-11 21:23:22 UTC
Are you aware of an existing issue on the Qt side? Because it pretty clearly is a bug, even if partition manager maybe isn't the right place to deploy a fix.
Comment 3 Andrius Štikonas 2024-10-11 21:30:43 UTC
(In reply to LaughingMan from comment #2)
> Are you aware of an existing issue on the Qt side? Because it pretty clearly
> is a bug, even if partition manager maybe isn't the right place to deploy a
> fix.

No, I'm not aware. But I just tried it somewhere in Chromium settings and it has the same behaviour. So I think most people (not just in Qt) consider this a normal behaviour.
Comment 4 LaughingMan 2024-10-11 21:34:05 UTC
Tried in Firefox' settings and it has the behavior I'd expect.