Bug 516042

Summary: Opacity settings should only be offered when the theme supports them
Product: [Plasma] plasmashell Reporter: Filip Fila <filipfila.kde>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: ASSIGNED ---    
Severity: normal 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:

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