Bug 418369

Summary: Background grid is displayed when latte dock auto hides
Product: [Unmaintained] lattedock Reporter: Nick <nick.craig.law>
Component: plasmoidAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED NOT A BUG    
Severity: major CC: nick.craig.law
Priority: NOR    
Version First Reported In: 0.9.9   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Shows background grid when latte dock hides
How Dock normally looks

Description Nick 2020-03-01 19:08:27 UTC
Created attachment 126529 [details]
Shows background grid when latte dock hides

SUMMARY


STEPS TO REPRODUCE
1. Set any of the following, autohide, dodge active, dodge maximised, dodge all windows.I'm using a dock on the left of the screen (not sure if that's relevant. Always visible and windows go below will not show the problem.

2. Adjust your windows i.e maximise or maximise and make focus. The dock should hide. Instead what it does is show the background grid (in brown) from top to bottom so you can't see the left hand side of your maximised window.

See attached picture. Problem is 100% reproducible. Problem only appeared today after upgrade to 5.18.2


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.18
(available in About System)
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

LatteDock Version 0.9.9
Comment 1 Nick 2020-03-01 19:16:47 UTC
Created attachment 126530 [details]
How Dock normally looks

Thought I'd add a snapshot of what the dock normally looks like when windows are not maximised and dock is then not forced to autohide.
Comment 2 Michail Vourlakos 2020-03-01 20:35:46 UTC
What Plasma Theme are you using?
Comment 3 Michail Vourlakos 2020-03-01 20:36:53 UTC
2. If you enable compositing mode from plasma systemsettings, Screens, Compositor is the issue reproducible?
Comment 4 Nick 2020-03-01 21:57:32 UTC
Compositing was already enabled.

I am using Oxygen so I switched from Oxygen to Breeze in both plasma global theme & plasma style and the Dock started to behave correctly !

I then switched both plasma style & plasma global theme back to Oxygen and the Dock continues to work correctly :-)

I'll monitor over the next few days and after a few reboots & let you know if it is now ok.
Comment 5 Nick 2020-03-01 22:14:31 UTC
Actually although the compositor was enabled there was a message about it having crashed in the past and I ok'ed that message for the compositor to restart. I'm now getting some nice shading around windows that I don't remember seeing before.

So there is a distinct possibility it was because the compositor was not running... maybe.
Comment 6 Nick 2020-03-02 17:14:09 UTC
LatteDock is working as it should do since I restarted the compositor.