Bug 468531

Summary: Two extra keyboard focus in the custom accent colour dialogue
Product: [Applications] systemsettings Reporter: Jack Hill <jackhill3103>
Component: kcm_colorsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: cwo.kde, nate, noahadvs, tantalising007, uhhadd
Priority: NOR    
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jack Hill 2023-04-15 10:42:16 UTC
SUMMARY
Two controls take focus when they don't need to:
1. The radio button for custom accent colours (also this doesn't highlight with focus)
2. The custom colour picker takes keyboard focus two times in a row

STEPS TO REPRODUCE
1. Click "From current wallpaper"
2. Press tab once
3. Press tab 11 more times
4. Press tab once more

OBSERVED RESULT
After (2): the radio button itself has focus (with no highlighting)
After (3): the custom colour picker has focus. There is a ring highlight around the picker button.
After (4): the custom colour picker has focus. The entire picker button is highlighted.

EXPECTED RESULT
After (2): the first custom colour has focus
After (3): the custom colour picker has focus
After (4): focus moves to the next logical control (should be the colour scheme picker but is actually the "Help" button)

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230413
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8
Kernel Version: 6.2.10-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 cwo 2025-06-01 17:10:02 UTC
This should work as expected in Plasma 6.4 (except the header coming after the grid view, not first as would be logical, but that's a general problem with (Scroll/Grid)ViewKCM.