Bug 468531 - Two extra keyboard focus in the custom accent colour dialogue
Summary: Two extra keyboard focus in the custom accent colour dialogue
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_colors (other bugs)
Version First Reported In: 5.27.4
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-15 10:42 UTC by Jack Hill
Modified: 2025-06-01 17:10 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.