Bug 390017

Summary: [wayland] - Latte panel on top edge shows a centered transparent box after login
Product: [Unmaintained] lattedock Reporter: Rainer Finke <rainer>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the transparent box

Description Rainer Finke 2018-02-07 16:59:30 UTC
Since the upgrade to Plasma 5.12 the latte dock positioned on the top edge (Unity layout) shows on Wayland a small transparent frame in the center of the panel, roughly twice the size of the panel. If fullscreen windows are shown, then they are not positioned directly at the latte dock, they are positioned below the transparent box. Tested with Latte 0.7.3 and latte-git on Arch Linux.
Comment 1 Rainer Finke 2018-02-07 17:04:59 UTC
Created attachment 110410 [details]
Screenshot of the transparent box
Comment 2 Michail Vourlakos 2018-02-07 17:11:41 UTC
If you change the visibility mode from "Always Visible" to something else, is it removed?
Comment 3 Rainer Finke 2018-02-07 19:53:04 UTC
Yes, then this box is removed.
Comment 4 Michail Vourlakos 2018-02-07 19:54:41 UTC
ok... our AlwaysVisible mode needs adjustment in wayland... I will wait for plasma 5.12 to land in manjaro and take a look again... I believe that I will be able to land some fixes for wayland in master version.
Comment 5 Rainer Finke 2018-02-07 19:57:57 UTC
Strange, if I change now back to always visible then this box is not shown again. Only if I restart my system and latte is automatically started. 

Great, thank you very much for the fast feedback!
Comment 6 Michail Vourlakos 2018-02-26 22:24:41 UTC
can you still reproduce this?
I tested in wayland and I dont have such issue...
Comment 7 Michail Vourlakos 2018-03-01 22:04:13 UTC
I can reproduce.
Comment 8 Michail Vourlakos 2018-03-03 12:17:58 UTC
Git commit f2b93ac5f232adaa4dc0769fb6103efad07ef132 by Michail Vourlakos.
Committed on 03/03/2018 at 12:14.
Pushed by mvourlakos into branch 'master'.

improve AlwaysVisible during startup in wayland

--the GhostWindow which is used for AlwaysVisible mode
under wayland during startup there was cases that its
geometry was exceeding the maximumGeometry sent.

M  +1    -0    app/waylandinterface.cpp

https://commits.kde.org/latte-dock/f2b93ac5f232adaa4dc0769fb6103efad07ef132
Comment 9 Rainer Finke 2018-03-04 17:28:12 UTC
I can confirm that latte-git is working now without showing the transparent box. Thanks!