Bug 479239

Summary: The panel does not update the available screen size after reapplying floating margins
Product: [Unmaintained] lattedock Reporter: SolitaryAnimal <BlackSpree>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: OBSERVED RESULT

Description SolitaryAnimal 2024-01-01 05:46:32 UTC
Created attachment 164587 [details]
OBSERVED RESULT

SUMMARY
When full-screen software returns to a non-full-screen state, the panel does not update the available screen size after reapplying floating margins. 

I use the krohnkite script to implement tiling, which has some spacing at the edge of the screen. The latteddock layout has a top panel and some floating spacing from the screen. When the window is maximized, the top panel of lattedock will close the floating spacing. When the window is maximized, The floating spacing is restored when restored, but krohnkite does not seem to receive events for changes in available screen space, so it does not adjust the position and size of the window causing the window to stick to the panel.

STEPS TO REPRODUCE
1. Set the panel to "Hide floating spacing for maximized windows".
2. Full screen one window.
3. No longer full screen that window.

OBSERVED RESULT
Tile windows have no top margin.

EXPECTED RESULT
Tile windows have normal top margins, just like full-screen windows did before.

Katte/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.10 
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION