Bug 402918

Summary: [feature] - Latte should show the dock background when there is a window behind it
Product: [Unmaintained] lattedock Reporter: trmdi
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
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:

Description trmdi 2019-01-06 11:20:00 UTC
When I choose "Hide background for not maximized windows" for the dock, when I move a window to the position that one part of the window is behind the dock.

See the screenshot: https://i.imgur.com/Vy0TJAh.png

Do you think the dock background should be shown in that case ?
Like this: https://i.imgur.com/scy6fF4.png
Comment 1 Michail Vourlakos 2019-01-06 11:27:39 UTC
(In reply to trmdi from comment #0)
> Do you think the dock background should be shown in that case ?

I find it too smart actually in order to add such smartness in the code but I will leave it open in order to conclude for this in the future
Comment 2 Michail Vourlakos 2019-01-19 16:38:08 UTC
(In reply to trmdi from comment #0)
> When I choose "Hide background for not maximized windows" for the dock, when
> I move a window to the position that one part of the window is behind the
> dock.
> 
> See the screenshot: https://i.imgur.com/Vy0TJAh.png
> 
> Do you think the dock background should be shown in that case ?
> Like this: https://i.imgur.com/scy6fF4.png

Even though I do not think the specific example is valid because the user has disabled its background by default or has set a very narrow background size, there is a case that I think this is valid.

Option "Force solid background when touching any window" currently is supporting this only when there is window that is snapped or a window that is touching exactly the edge of the Latte panel but I think it should be extended to support all cases that a window is touching/is behind the Latte panel
Comment 3 Michail Vourlakos 2019-01-19 17:00:59 UTC
fixed with: https://phabricator.kde.org/R878:ad3b5abeaf0b98f0dab974496efec9a4ffabde45