Bug 511071

Summary: Maximised windows expand under panels after monitor is power cycled / disconnected-reconnected
Product: [Plasma] kwin Reporter: Steve Vialle <steve_v>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Steve Vialle 2025-10-25 07:43:07 UTC
SUMMARY
If the primary (in this case only) monitor is powered off and on again or disconnected / reconnected, any maximised windows expand to fill the entire display area - including area that should be reserved for the "always visible" panel.

Please reassign if my guess at this one belonging to kscreen is incorrect.

STEPS TO REPRODUCE
1. maximise a window
2. turn of the monitor
3. turn on the monitor

OBSERVED RESULT
Maximised windows now occupy the full display area, with their bottom edge hidden behind the bottom-anchored "always visible" panel.

EXPECTED RESULT
Window size and arrangement is unchanged if the monitor goes away.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.18
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.3
Kernel Version: 6.12.47-gentoo-dist (64-bit)
Graphics Platform: X11
Processors: 20 × Intel® Core™ i9-10900KF CPU @ 3.70GHz
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: ASUS