With laptop docked in a docking station with external display (used as a second display extending the workspace) I have maximizing issues every time I undock. In such circumstances, the maximize button doesn't stretch the window over the whole display (- panel) but only over top 50% of the display. Restarting plasmashell helps, so as does setting the screen resolution to some lower and back to full screen in kscreen. The issue can be reproduced with xrandr, too. Turning the external screen off in kscreen works fine. Reproducible: Always Steps to Reproduce: 1. have laptop with external screen attached (extending the desktop) 2. turn the external screen off outside KDE configuration (undock/pull-off the cable/xrandr) Actual Results: Actual Results: maximizing borked, affected usability. Can be 'fixed' by restarting plasmashell or fiddling with the screen configuration in kscreen. Expected Results: Expected Results: maximizing works as expected. No workaround needed. Originally the issue got discussed here: https://bugs.kde.org/show_bug.cgi?id=344787 As there were another bugs present and the discussion got lenghty, I am filing this new bug to fix the plasmashell issue alone.
when docked has it external screens too? seems the panel struts not being updated correctly when a screen gets disabled
Yes. I have the external display connected to the dock, not the laptop itself. But this is just tiny technical detail; xrandr works for reproducing the issue just as well.
tried with a second monitor, with or without panels in it. but upon deactivation of the second monitor maximize still work fine, can't reproduce for now
Important detail: in my case, vertical resolution of the external monitor (1080) is different from the vertical resolution of the internal display (768).
The problem did not occur for quite some time, closing.