Bug 408569

Summary: Hide background option does not work on second screen
Product: [Unmaintained] lattedock Reporter: miyaokamarina <miyaokamarina>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Latte layout
Screenshot with two docks

Description miyaokamarina 2019-06-11 14:06:06 UTC
SUMMARY

`Hide background when not needed` option does not work on second screen.


STEPS TO REPRODUCE
1. Configure Latte to hide background when not needed on primary screen.
2. Clone existing and working dock to new screen.

OBSERVED RESULT
Background remains visible event there is no window touching Latte’s edge.

EXPECTED RESULT
Background should be hidden.

SOFTWARE/OS VERSIONS
Kernel: 5.1.7 (Arch)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3
Latte Version: 0.7.96.r1076.g0b6c07a1-1 (latte-dock-git from archlinuxcn repo)
Comment 1 Michail Vourlakos 2019-06-11 15:16:18 UTC
please do the following:

run latte from terminal with: "latte-dock -d --with-window"

debug windows will appear that at their bottom provide information concerning Last Active Window. Reproduce the issue and make a screenshot of your entire system with the Debug windows included in the screenshot showing the Last Active Window values
Comment 2 Michail Vourlakos 2019-06-11 15:23:28 UTC
BTW I just tried the STEPS to reproduce but in my system I dont see any issue, 

2. It might be a good idea to send also your layout file in case it is a combination of settings that creates the issue
Comment 3 miyaokamarina 2019-06-11 15:41:54 UTC
Created attachment 120791 [details]
Latte layout

Here is my current layout.
Comment 4 Michail Vourlakos 2019-06-11 15:42:36 UTC
(In reply to miyaokamarina from comment #3)
> Created attachment 120791 [details]
> Latte layout
> 
> Here is my current layout.

and the screenshot?
Comment 5 miyaokamarina 2019-06-11 15:47:16 UTC
Created attachment 120792 [details]
Screenshot with two docks

Right screen is primary, right debug window shows info from primary screen.