Bug 515987

Summary: Missing "Focus shortcut:" label in panel configuration with themes that don't use adaptive opacity
Product: [Plasma] plasmashell Reporter: Filip Fila <filipfila.kde>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: ASSIGNED ---    
Severity: minor CC: niccolo.venerandi
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Missing "Focus shortcut:" label with Oxygen

Description Filip Fila 2026-02-14 13:44:29 UTC
Created attachment 189576 [details]
Missing "Focus shortcut:" label with Oxygen

SUMMARY
If a desktop theme doesn't use adaptive opacity, the "Focus shortcut:" label is hidden in the panel configuration. At the same time, the shortcut button and the clear shortcut button are still rendered so it's unclear to the user what these buttons do. The UI also looks imbalanced without the label. 

Since the focus shortcut seems to work regardless of the fact if the theme is adaptive or not, the label should not become invisible if the theme doesn't use adaptive opacity. 

STEPS TO REPRODUCE
1. Set the desktop theme to Oxygen
2. Enter panel configuration dialog
3. See that there's no "Focus shortcut:" label and that the UI looks weird

OBSERVED RESULT
No "Focus shortcut:" label

EXPECTED RESULT
The "Focus shortcut:" is shown.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
I'll submit a patch for this in a few moments.
Comment 1 Bug Janitor Service 2026-02-14 13:50:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3538