Bug 353693 - Windows underflow the panel after the panel is reinitialized on second screen
Summary: Windows underflow the panel after the panel is reinitialized on second screen
Status: RESOLVED DUPLICATE of bug 353053
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.4.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 21:20 UTC by Ondrej Machulda
Modified: 2015-10-14 20:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Windows are shown below the panel after screen was switched (23.52 KB, image/png)
2015-10-08 21:22 UTC, Ondrej Machulda
Details
Proper behavior (before screen switch or after plasmashell restart) - windows are stacked to the panel (31.30 KB, image/png)
2015-10-08 21:23 UTC, Ondrej Machulda
Details
xprop output (59.03 KB, text/plain)
2015-10-10 11:47 UTC, Ondrej Machulda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Machulda 2015-10-08 21:20:10 UTC
I have panel visibility set to "Always visible" and by standard circumstances the windows do no underflow the panel and their bottom border stacked to upper border of the panel - all as expected.

However, when I switch to an external monitor (and the original monitor is disabled then), the panel gets "re-initialized" on the new screen, however, the windows now underflow the panel, as if I have "Windows go below" visibility settings.

Workaround I found is killing and restarting the plasmashell process...

Reproducible: Always

Steps to Reproduce:
1. Use 1 monitor
2. Switch to monitor 2 while disabling the monitor 1

Actual Results:  
Windows go below the panel

Expected Results:  
Windows do not go below the panel as they didn't before the screen switch
Comment 1 Ondrej Machulda 2015-10-08 21:22:22 UTC
Created attachment 94903 [details]
Windows are shown below the panel after screen was switched
Comment 2 Ondrej Machulda 2015-10-08 21:23:23 UTC
Created attachment 94904 [details]
Proper behavior (before screen switch or after plasmashell restart) - windows are stacked to the panel
Comment 3 David Edmundson 2015-10-09 08:58:37 UTC
Can you run "xprop" and click on the panel
then attach the result

also output of "xrandr -q"

Thanks
Comment 4 Ondrej Machulda 2015-10-10 11:46:36 UTC
After switch from eDP1 (native screen) to DP2-2 (external screen):
# xrandr -q
Screen 0: minimum 8 x 8, current 1280 x 1024, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
   1920x1080     60.02 +
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00                                                                                          
DP1 disconnected (normal left inverted right x axis y axis)                                                     
DP2 disconnected (normal left inverted right x axis y axis)                                                     
DP2-1 disconnected (normal left inverted right x axis y axis)                                                   
DP2-2 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm                          
   1280x1024     60.02*+                                                                                        
   1024x768      60.00                                                                                          
   800x600       60.32                                                                                          
   640x480       60.00                                                                                          
   720x400       70.08                                                                                          
DP2-3 disconnected (normal left inverted right x axis y axis)                                                   
HDMI1 disconnected (normal left inverted right x axis y axis)                                                   
HDMI2 disconnected (normal left inverted right x axis y axis)                                                   
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Xprop output is attached.
Comment 5 Ondrej Machulda 2015-10-10 11:47:10 UTC
Created attachment 94928 [details]
xprop output
Comment 6 tamius.han 2015-10-13 10:44:35 UTC
Might be a duplicate of this:

https://bugs.kde.org/show_bug.cgi?id=353053
Comment 7 Ondrej Machulda 2015-10-14 20:56:59 UTC
Yes, it really looks like a duplicate. Thanks.

*** This bug has been marked as a duplicate of bug 353053 ***