Bug 426885

Summary: incorrect panel position and incorrect screen output after rotate the screen
Product: [Plasma] plasmashell Reporter: zerobikappa <zerobikappa>
Component: generic-multiscreenAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: a0.png
a1.png
b0.png
b1.png

Description zerobikappa 2020-09-22 21:39:41 UTC
SUMMARY
incorrect panel position and incorrect screen output after rotate the screen

STEPS TO REPRODUCE
1. set autohide the panel
2. run commandline `xrandr --listmonitors` and find my screen is "HDMI-0"

3. if the screen was set to landscape after reboot(see a0.jpg):
  3.1 run commandline `xrandr --output HDMI-0 --rotate left --auto` then the screen will be set to portrait.
  3.2 see a1.jpg, the panel can not show and the desktop output is incorrect.

4. if the screen was set to portrait after reboot(see b0.jpg):
  4.1 run commandline `xrandr --output HDMI-0 --rotate normal --auto` then the screen will be set to landscape.
  4.2 see b1.jpg, the position of panel is incorrect and the desktop output is incorrect.

OBSERVED RESULT
Length and width do not change after rotation.

EXPECTED RESULT
fix this issue.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.8.10-arch1-1
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 760/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 zerobikappa 2020-09-22 21:40:39 UTC
Created attachment 131877 [details]
a0.png
Comment 2 zerobikappa 2020-09-22 21:41:32 UTC
Created attachment 131878 [details]
a1.png
Comment 3 zerobikappa 2020-09-22 21:41:54 UTC
Created attachment 131879 [details]
b0.png
Comment 4 zerobikappa 2020-09-22 21:42:11 UTC
Created attachment 131880 [details]
b1.png
Comment 5 zerobikappa 2020-09-23 12:25:51 UTC
update:
I found this issue only occurs on one of my screen. But seems that it is not my displayer's issue because it happened after recent update.
Comment 6 zerobikappa 2020-10-02 21:44:19 UTC
the problem was fixed in the latest update.
nvidia (455.23.04-3 -> 455.23.04-4)
plasma-workspace (5.19.5-1 -> 5.19.5-3)