Bug 479239 - The panel does not update the available screen size after reapplying floating margins
Summary: The panel does not update the available screen size after reapplying floating...
Status: REPORTED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-01 05:46 UTC by SolitaryAnimal
Modified: 2024-01-01 05:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
OBSERVED RESULT (28.58 KB, image/png)
2024-01-01 05:46 UTC, SolitaryAnimal
Details

Note You need to log in before you can comment on or make changes to this bug.
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