Bug 516042 - Opacity settings should only be offered when the theme supports them
Summary: Opacity settings should only be offered when the theme supports them
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 6.6.80
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2026-02-15 14:46 UTC by Filip Fila
Modified: 2026-03-16 21:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Fila 2026-02-15 14:46:56 UTC
SUMMARY
If a theme doesn't support setting opacity options, the user is still not prevented from changing them in the panel configuration dialog. This is confusing because the options don't do anything.

STEPS TO REPRODUCE
1. Switch to a theme like Oxygen
2. Go to the panel configuration window and try to change the opacity setting

OBSERVED RESULT
Clicking on the options does nothing and if you visit the dialog again you are defaulted back to translucent

EXPECTED RESULT
The combobox is disabled, preferably with a tooltip explaining why.

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
This is very likely what the misplaced line of code was supposed to do: https://bugs.kde.org/show_bug.cgi?id=515987

I'm submitting a patch in a few minutes.
Comment 1 Bug Janitor Service 2026-02-15 15:15:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3542
Comment 2 Nate Graham 2026-03-16 21:47:27 UTC
Git commit c7fddd119b773cab677a55af6173079f4590dc28 by Nate Graham, on behalf of Filip Fila.
Committed on 16/03/2026 at 21:47.
Pushed by ngraham into branch 'master'.

desktoppackage: Don't offer panel opacity settings if the theme doesn't support them

Depends on plasma/libplasma!1441

If a theme doesn't support setting opacity options, the user is still not prevented
from changing them in the panel configuration dialog. This is confusing because the
options don't do anything.

The runaway line of code from !3538 was probably meant to turn off the combobox if
adaptive opacity is not supported.

This patch disables the combobox in such cases, disables toggling the combobox by
clicking on the thumbnail above, dims the combobox, and adds a tooltip that explains
why the control is disabled.
FIXED-IN: 6.7.0

M  +20   -5    desktoppackage/contents/configuration/PanelConfiguration.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/c7fddd119b773cab677a55af6173079f4590dc28