r/kde•
corus87

Dock hides even there is huge space between Firefox and dock when "hide titlebar" is enabled. Space depends on the GTK theme.

Latte dock is configured to hide if an active window overlap the dock but with Firefox even there is a 1cm of space between dock and Firefox, the dock hides.But it only happens if "hide titlebar" in the Firefox settings is enabled.I noticed the space is depending of the GTK3 theme I use. The shortens distance I've got is with the breeze theme, the distance with other GTK themes are much higher.

I also checked this bug with a fresh install of KDE Neon with all updates and latte-dock installed in a VM, just to be sure.

Does somebody know how to fix this or knows what variable for the GTK theme cause this kind of distance?Thanks.

​

Edit:

I just tested again in a VM this time with KDE Neon neon-user-20200204-1012 which still have plasma 4.17, without upgrade to 4.18 its working as expected. So I guess the bug is with plasma 4.18.

But it not only happens with latte-dock, also with cairo-dock.

Posted Mar 5, 2020, 11:09 PM UTC · edited

27
psifidotos:kde: KDE Contributor•

https://bugs.kde.org/show_bug.cgi?id=417856 it is the new Plasma CSD shadows implementation under X11, in wayland probably does not occur..

I can accept patches if anyone finds a small workaround...

ALL docks should fail with this... Plank, Cairo etc...

2
corus87OP•

Thanks for sharing the bug track, good to know its already open.

But actually not all docks failing, it works with plank for some reason.

1
psifidotos:kde: KDE Contributor•

Ok I fixed it for Latte master version upcoming v0.10 but I wont merge the fix for v0.9.x unless it has been tested from community that does not create other issues... The fix needs KDE Frameworks>=5.65

1
corus87OP•

I just installed it, thank your very much for the quick fix!

It's working again and if I noticed any issues or bugs, I will report them.

1
condoulo•

I noticed this happen with other applications that use CSD headerbars. My guess is that applications that use CSD headerbars are advertising the shadows as part of the window and Latte Dock is responding to that. Totally a guess though.

1
corus87OP•

I think too it has something to do with CSD, but also with plasma 4.18.

1
[deleted]•

[deleted]

1
trmdi:opensuse:•

You should report the bug on https://bugs.kde.org/ -> Lattedock

1