Bug 434841

Summary: Opacity on margin not working when using web browsers
Product: [Unmaintained] lattedock Reporter: barna88hun <vizydani>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: lattte-dock opacity not working on margin
lattte-dock opacity working on margin
dragonized layout

Description barna88hun 2021-03-23 16:59:54 UTC
Created attachment 136992 [details]
lattte-dock opacity not working on margin

Opacity on margin not working when using web browsers


STEPS TO REPRODUCE + OBSERVED RESULT
1.Tested on librewolf, chromium
2.Compositor is enabled
3.Issue appears only on web browsers, opacity on dock margins works normally when I open a terminal, file manager, settings...etc.

EXPECTED RESULT
Working opacity on latte-dock margin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Garuda Linux
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 barna88hun 2021-03-23 17:07:19 UTC
Created attachment 136993 [details]
lattte-dock opacity working on margin
Comment 2 Michail Vourlakos 2021-03-23 17:41:46 UTC
Send also the layout creating the issue
Comment 3 barna88hun 2021-03-23 17:51:12 UTC
On Garuda layout the opacity works fine.
On Dragonized layout not.
Comment 4 barna88hun 2021-03-23 17:51:51 UTC
Created attachment 136996 [details]
dragonized layout
Comment 5 Michail Vourlakos 2021-03-23 18:28:15 UTC
I suppose you need to disable at Appearance advanced setting->Background->Prefer  opaque background when touching any window.

Do I miss something?

The settings at Appearance advanced settings -> Background group are a bit strange.
Do you know what you would like to provide as proper background behavior? meaning when to be transparent, when to be solid, when to be half-transparent etc...
Comment 6 barna88hun 2021-03-23 18:49:38 UTC
I checked and opaque background when touching any window is turned on.

Now I try switch to Garuda and make some printscr, to compare the settings with the Dragonized layout.

If it's not helps, then I try to open the layouts with texteditor to compare the lines on the layouts.

Would you help by telling me which lines[Containments] responsible for the dock behaviour at the bottom?
Comment 7 Michail Vourlakos 2021-03-23 18:58:45 UTC
in your layout bottom dock is [Containments][1][General]

from layout to layout containments numbering is not the same.
Comment 8 barna88hun 2021-03-23 19:53:51 UTC
I found it:
Problem was close what you said.
At the Appearance Tab: 
Busy Opacity was 100% and changed to 0%.
Disabled prefer opaque background
Disabled hide background when not needed

Thank You very much. :))))))