Bug 344860 - unable to maximize after undocking
Summary: unable to maximize after undocking
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.2.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 10:49 UTC by Martin Kyral
Modified: 2017-03-08 08:09 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kyral 2015-03-05 10:49:23 UTC
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.
Comment 1 Marco Martin 2015-03-11 17:16:41 UTC
when docked has it external screens too?
seems the panel struts not being updated correctly when a screen gets disabled
Comment 2 Martin Kyral 2015-03-12 10:30:35 UTC
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.
Comment 3 Marco Martin 2015-03-31 09:17:09 UTC
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
Comment 4 Martin Kyral 2015-08-20 00:47:03 UTC
Important detail: in my case, vertical resolution of the external monitor (1080) is different from the vertical resolution of the internal display (768).
Comment 5 Martin Kyral 2017-03-08 08:09:13 UTC
The problem did not occur for quite some time, closing.