Plasma isnt exposing any mechanism for external docks/apps to publish what space they occupy per screen. This situation produces overlaps between desktop contents and external docks/panels: https://github.com/psifidotos/Latte-Dock/issues/737#issuecomment-368351550 I could provide a patch but I suppose this needs a protocol and of course plasma devs to agree in this. The easiest protocol I can think of is that an external app could publish to plasma the free available screen rectangle. The key for the screen identification could be the name of the screen as it is already done in plasma's screenpool.
Just to add some info... Plasma :: ShellCorona is using QScreen::geometry() in order to indicate the screens borders on the other hand KRunner is using QScreen::availableGeometry() that takes into account the struts (I dont know if this is also the case for wayland). A sub solution could be for DesktopView to provide the availableGeometry instead of the geometry if this solves also the wayland case partially. Pros: Always Visible modes from external docks/panels would be taken into account Cons: All rest visibility modes that dont use struts will have the same issue. Plasma is using the thickness internal value from each panel in order to provide this for all panels even though that are hidden.
Created attachment 113555 [details] Screenshot about overlapping Latte Dock
*** Bug 396126 has been marked as a duplicate of this bug. ***
Git commit d071e3be33480e5c82f367b18ca37f2d2144798d by Michail Vourlakos. Committed on 22/02/2020 at 12:30. Pushed by mvourlakos into branch 'master'. publish available screen geometries to Plasma --Plasma 5.18 introduced a new dbus interface in order for external apps to be able to publish to Plasma how much they occupy from screen space. This is a much requested feature from users, Latte is now publishing both its availableScreenRect and availableScreenRegions and this is also Multiple Layouts aware at runtime. M +3 -0 app/lattecorona.cpp M +2 -0 app/lattecorona.h M +1 -0 app/plasma/extended/CMakeLists.txt A +161 -0 app/plasma/extended/screengeometries.cpp [License: GPL (v2+)] A +83 -0 app/plasma/extended/screengeometries.h [License: GPL (v2+)] https://commits.kde.org/latte-dock/d071e3be33480e5c82f367b18ca37f2d2144798d
What version of lattedock will include this fix?
Latest git version. You should build Latte yourself if your distro git version is outdated.
I don't want to build lattedock myself, because I don't want to deal with that. I just want to know what/when the next release will be, so I know what to look for.
The next release 0.10 is planned for release in one and half year time