Bug 497042 - Panel can only be colored when there is no tranlucency
Summary: Panel can only be colored when there is no tranlucency
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 6.2.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-04 16:24 UTC by PK
Modified: 2024-12-05 19:53 UTC (History)
2 users (show)

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


Attachments
four sized panel widget (4.37 KB, image/svg+xml-compressed)
2024-12-04 16:24 UTC, PK
Details
colors file that works until transparency comes in the game (2.73 KB, text/plain)
2024-12-04 16:30 UTC, PK
Details
panel-background.svgz with a lot of corrections made (4.33 KB, image/svg+xml-compressed)
2024-12-04 18:22 UTC, PK
Details
simple panel-background widget works (3.15 KB, image/svg+xml-compressed)
2024-12-04 19:57 UTC, PK
Details
100% functional 4 side panel-background widget (260.13 KB, image/svg+xml)
2024-12-05 19:44 UTC, PK
Details
greenish "colors" file to make it complete (3.52 KB, text/plain)
2024-12-05 19:53 UTC, PK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PK 2024-12-04 16:24:26 UTC
Created attachment 176347 [details]
four sized panel widget

I like to have a panel on the top of the screen that autohides and contains the systemtray wheater widget and that sort of things. 
On the bottom of the screen I like to have a somewhat larger panel with some application starters in it the icon for the application dashboard and a analog clock widget.
The lower panel can be much more translucent than the upper one.
To get this done I took the system Breeze Dark theme as reference and tinkered the panel widget of the first attachment.
I use a customize "colors" file in this plasma desktop theme and that does the job well. 
Only, when I switch to "transparency" in the panel settings this color suddenly disappears and I have a fully colorless panel.
Also, the moment I change the transparency of the "north", "south", "east" of "west" part of my panel all color disappears.
I have the feeling this is not expected behaviour...

Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.8.0-49-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6300U CPU @ 2.40GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Manufacturer: Dell Inc.
Product Name: Latitude 5480
Comment 1 PK 2024-12-04 16:30:16 UTC
Created attachment 176348 [details]
colors file that works until transparency comes in the game

this is the colors file that really does the job well until transparency enters the game. Be it by the panel configuration or by adding some transparency by hand to the "north", "south", "east" or "west" part of the panel-background.svgz file.
Comment 2 PK 2024-12-04 18:22:13 UTC
Created attachment 176354 [details]
panel-background.svgz with a lot of corrections made

I made a lot of corrections in the panel-background.svgz file. With the north, south, east and west stuff.
I'm glad that it made no difference for this bug.
The new one acted the same.
Comment 3 PK 2024-12-04 19:57:19 UTC
Created attachment 176356 [details]
simple panel-background widget works

I took the panel-background widget out of the "default" plasma theme and made it a little transparent. That can be rendered transparent with color. 
Perhaps the north, south, east and west thing doesn't work 100%, perhaps I'm doing it wrong.
Comment 4 PK 2024-12-05 06:33:15 UTC
Is there a reference north, south, east, west panel-background widget that I can look into?
Comment 5 Niccolò Venerandi 2024-12-05 17:50:25 UTC
The plasma theme has *multiple* panel background SVGs. One for normal panel, one for transparent panel, and one for when there's no compositor. You should edit all of them if you don't want colors to change!
Comment 6 PK 2024-12-05 18:10:06 UTC
I will definitely try that. Thank you for your reaction.
Perhaps Iḿ allmost there!
Comment 7 PK 2024-12-05 19:42:38 UTC
I tried but no succes.
What DOES work 100% is a little more "dirty" approach.
In the folder /widgets of the plasma theme i raplacs the file panel-background.svgz by the one I just attached. It has color of it's own. It works completely as expected.
Comment 8 PK 2024-12-05 19:44:05 UTC
Created attachment 176376 [details]
100% functional 4 side panel-background widget
Comment 9 PK 2024-12-05 19:53:07 UTC
Created attachment 176377 [details]
greenish "colors" file to make it complete