Bug 401187 - Maximized windows covered by plasma after monitor wake up
Summary: Maximized windows covered by plasma after monitor wake up
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.14.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-19 04:32 UTC by Steve Ramage
Modified: 2022-06-25 19:27 UTC (History)
2 users (show)

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


Attachments
Screenshot of issue. (63.81 KB, image/png)
2018-11-19 04:32 UTC, Steve Ramage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Ramage 2018-11-19 04:32:22 UTC
Created attachment 116397 [details]
Screenshot of issue.

SUMMARY


STEPS TO REPRODUCE
1. Setup triple monitor installation (maybe an issue with dual or single displays), two external and main laptop display
2. Maximize a window on the primary screen (the bottom of the window should stay above the plasma bar).
3. Turn off external display 1 and 2
3-a) Laptop display turns off automagically (not sure if this matters).
4. Wait 5 seconds.
5. Turn external displays back on
5-a) Laptop display turns on automagically.
6. Look at maximized window on primary display.

OBSERVED RESULT

Bottom of maximized window is below the plasma bar.

EXPECTED RESULT

Bottom of maximized window should be above the plasma bar.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

Output of xrandr -q in this state:

xrandr -q
Screen 0: minimum 320 x 200, current 5120 x 2520, maximum 8192 x 8192
eDP-1 connected 1920x1080+1540+1440 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.03 +  60.01*   59.97    59.96    59.93    48.03  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-3-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 708mm x 398mm
   2560x1440     59.95*+
   1920x1080     60.00    50.00    59.94    30.00    24.00    29.97    23.98  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DP-3-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 708mm x 398mm
   2560x1440     59.95*+
   1920x1080     60.00    59.94  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1280x720      60.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
DP-3-3 disconnected (normal left inverted right x axis y axis).
Comment 1 Steve Ramage 2018-11-19 04:33:09 UTC
This might be related to 372586, I'm not sure.
Comment 2 Steve Ramage 2018-11-19 04:34:10 UTC
Also a work around I have done is to simply map a keyboard short cut to the following shell script and run it:

xrandr --output DP-3-2 --primary
xrandr --output DP-3-1 --primary

Besides the momentary flicker, it fixes the issue.
Comment 3 Steve Ramage 2018-11-19 04:35:11 UTC
Also FYI, this is affecting 5.14.3, but that option is not available in the version list.
Comment 4 Nate Graham 2022-06-25 19:15:50 UTC
A lot has changed since this bug was filed. Is it still reproducible for you in Plasma 5.25? We made a lot of multimonitor improvements in that version.
Comment 5 Steve Ramage 2022-06-25 19:26:16 UTC
(In reply to Nate Graham from comment #4)
> A lot has changed since this bug was filed. Is it still reproducible for you
> in Plasma 5.25? We made a lot of multimonitor improvements in that version.

I think it's safe to close this bug. I haven't noticed this recently.
Comment 6 Nate Graham 2022-06-25 19:27:04 UTC
Cool, thanks.