Bug 457215 - Opacity of the Plasma panels should be tweakable in a granular way
Summary: Opacity of the Plasma panels should be tweakable in a granular way
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 457294 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-07-27 18:17 UTC by PK
Modified: 2022-12-08 11:59 UTC (History)
3 users (show)

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


Attachments
mockup transparency slider button (91.62 KB, image/jpeg)
2022-07-27 18:17 UTC, PK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PK 2022-07-27 18:17:17 UTC
Created attachment 150953 [details]
mockup transparency slider button

SUMMARY
***
Now there are three options for the opacity of the plasma panel: adapive, opaque and transparent. In my opinion the two "opaque" and "transparent" can be combined into one slider button. 
***


STEPS TO REPRODUCE
1. try to change the level of transparency of the plasma panel
2. there are only three options. 

OBSERVED RESULT
The level of opacity of the plasma panels can not really be customized

EXPECTED RESULT
The level of opacity of the plasma panels can not really be customized
With the future of Latte-Dock not so sure it is perhaps clever to make some changes in plasma.

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-07-27 19:51:32 UTC
Internally, a lot of the code relies on "Opaque" and "Transparent" being distinct states, because in various circumstances the panel switches between them. So we'd need to preserve that--at least internally--if we simplified the user-facing UI to offer a slider for transparency.
Comment 2 Nate Graham 2022-08-01 17:23:18 UTC
*** Bug 457294 has been marked as a duplicate of this bug. ***
Comment 3 veggero 2022-12-07 14:28:57 UTC
Currently, the opacity is determined by the SVG files of the theme. This means that you already have the possibility to customize the opacity by editing the theme files directly. As a more user friendly way, you can install the AlphaBlack theme which has an opacity slider for the normal plasma panels or use Latte Dock. Having this setting for Plasma Panels would mean re-generating the SVG live, which is something that would cause more headache than benefits; thus, unless the theming system changes in the future, I'm afraid we cannot have such an option.
Comment 4 PK 2022-12-07 16:24:10 UTC
Thank you Veggero, for your answer. Also I recently discovered that you can disable the blur in plasma panels separately from the system's default by editing the file "plasmarc" in the root-folder of the plasma-theme.

[BlurBehindEffect]
enabled=false
Great!
Comment 5 Sadi 2022-12-08 07:39:35 UTC
I wish it were possible to enable/disable blur effect, set different levels of transparency for each panel (instead of being dependent on one background.svg) like other panel settings (width, height, visibility, opacity etc.). 
I hope developers consider this at least for the future.
Comment 6 veggero 2022-12-08 11:59:20 UTC
(In reply to Sadi from comment #5)
> I wish it were possible to enable/disable blur effect, 

You can do that, as the previous message said :) You can either disable blur entirely from settings or add that line to the metadata file of your theme.

> set different levels of transparency for each panel (instead of being dependent on one
> background.svg) 

You can have different panels have two different opacity levels; you could have a theme where the solid/ version of the panel is transparent, and then you have the normal transparency. Again, we cannot change transparency dynamically on any user-given value, so it is necessary to go with theming.

> I hope developers consider this at least for the future.