Bug 515987 - Missing "Focus shortcut:" label in panel configuration with themes that don't use adaptive opacity
Summary: Missing "Focus shortcut:" label in panel configuration with themes that don't...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 6.6.80
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-14 13:44 UTC by Filip Fila
Modified: 2026-02-19 20:30 UTC (History)
2 users (show)

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


Attachments
Missing "Focus shortcut:" label with Oxygen (329.80 KB, image/png)
2026-02-14 13:44 UTC, Filip Fila
Details

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 Filip Fila 2026-02-15 11:00:24 UTC
Git commit 1c86b12d94a7bbe464540e675e3e94628c455e79 by Filip Fila.
Committed on 15/02/2026 at 11:00.
Pushed by filipf into branch 'master'.

desktoppackage: Always show the "Focus shortcut:" label in panel configuration window

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.

This MR removes the 'visible' property that was at fault.

| Before | After |
| ------ | ------ |
|   ![PanelConfig-missingLabel](/uploads/3413a9fea1e24775a57c1d79f34eb681/PanelConfig-missingLabel.png){width=478 height=530}     |  ![PanelConfig-missingLabelAdded](/uploads/15f46c51d17752f75cfe59b0846495da/PanelConfig-missingLabelAdded.png){width=477 height=591}      |

M  +0    -1    desktoppackage/contents/configuration/PanelConfiguration.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/1c86b12d94a7bbe464540e675e3e94628c455e79
Comment 3 Filip Fila 2026-02-15 11:02:09 UTC
Git commit 4c8e142031db3d6689f00af5c6b8dcc0357ad2f6 by Filip Fila.
Committed on 15/02/2026 at 11:02.
Pushed by filipf into branch 'Plasma/6.6'.

desktoppackage: Always show the "Focus shortcut:" label in panel configuration window

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.

This MR removes the 'visible' property that was at fault.

| Before | After |
| ------ | ------ |
|   ![PanelConfig-missingLabel](/uploads/3413a9fea1e24775a57c1d79f34eb681/PanelConfig-missingLabel.png){width=478 height=530}     |  ![PanelConfig-missingLabelAdded](/uploads/15f46c51d17752f75cfe59b0846495da/PanelConfig-missingLabelAdded.png){width=477 height=591}      |


(cherry picked from commit 1c86b12d94a7bbe464540e675e3e94628c455e79)

c2736836 desktoppackage: Always show the "Focus shortcut:" label in panel configuration window

Co-authored-by: Filip Fila <filipfila.kde@gmail.com>

M  +0    -1    desktoppackage/contents/configuration/PanelConfiguration.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/4c8e142031db3d6689f00af5c6b8dcc0357ad2f6