Bug 362766

Summary: Panel appears in middle of screen after rotating screen 90 degrees with xrandr
Product: [Plasma] plasmashell Reporter: bowserevilking
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate, notuxius
Priority: NOR    
Version First Reported In: 5.6.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
URL: http://i.imgur.com/bAsLDu4.png
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description bowserevilking 2016-05-06 22:50:41 UTC
Whether I use the nvidia-settings panel, or xrandr, the KDE panel appears in the middle of the screen and is cut off on the right whenever I rotate my desktop 90 degrees. There is a black rectangular region where the panel is supposed to appear. It is as if the panel is still using the settings for the horizontal screen when flipped vertically.

Reproducible: Always

Steps to Reproduce:
1. run the command "xrandr -o left"
2. note the issue
3. run the command "xrandr -o normal" to return to normal

Actual Results:  
panel appears in middle of screen and is cut off to the right, and there is a black void where it should be.

Expected Results:  
panel should appear at the bottom of the newly rotated screen and scale to fit the whole panel in the new width.

I have a 2560x1440 resolution screen and am using the proprietary nvidia drivers.  I have linked to an image of the issue in the URL field.
Comment 1 bowserevilking 2016-05-10 11:20:27 UTC
Hm, it seems the whole desktop does not respond beneath that line, but when I log out and in again, everything is fine. I would prefer to not have to log in and out.
Comment 2 Alexander Mentyu 2018-03-05 12:47:32 UTC
Can you reproduce it after updates?
Comment 3 Nate Graham 2022-06-25 17:18:58 UTC
Rotating the screen with xrandr isn't the recommended way to do so, as it does not inform the system of changes like this. The recommended method is to use the screen rotation UI in System Settings > Display and Monitor.