Bug 414761

Summary: widget position is wrong after turning screen
Product: [Plasma] plasmashell Reporter: Daniel <daniel-other+kdebug>
Component: Desktop ContainmentAssignee: Sebastian Kügler <sebas>
Status: RESOLVED DUPLICATE    
Severity: normal CC: daniel-other+kdebug, nate, notmart, plasma-bugs
Priority: NOR    
Version: 5.17.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: plasmoids before (left) and after (right) twice rotations

Description Daniel 2019-12-02 19:28:56 UTC
Created attachment 124276 [details]
plasmoids before (left) and after (right) twice rotations

SUMMARY
If you place some plasmoids over the desktop (more than one half of it), the rotate the screen in the settings, then rotate it back (as it is the case for example in hybrid-laptops), the plasmoid are wrongly placed.

STEPS TO REPRODUCE
1. Add multiple plasmoids on desktop (more than one half of the desktop)
2. rotate screen by 90 degree
3. rotate screen by -90 degree

OBSERVED RESULT
the plasmoids placement is wrong. They are placed realte to what they are in the current screen rotation mode, which is not like they were placed before the first rotation (see pictures)


EXPECTED RESULT
The plasmoids should be placed like they were before the first rotation.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.17.3 
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
Placement works correctly, if plasmois are placed only in the lower half of the screen.
Comment 1 Nate Graham 2019-12-02 19:41:09 UTC
Out of curiosity, what's your screen resolution?
Comment 2 Daniel 2019-12-02 19:56:21 UTC
My screen resolution is 1920x1080 (Full HD)
Comment 3 Nate Graham 2019-12-02 21:44:03 UTC
Thanks.
Comment 4 Marco Martin 2019-12-09 17:44:14 UTC
did you manually move any widget after the first rotation?
Comment 5 Daniel 2019-12-09 18:59:02 UTC
No I did not. 

I just tried on a fresh activity: After the first set of two rotation, it worked fine, but after the second two rotations, the widget position is wrong. 

Tried it with another activity, there it was wrong after the first set of two rotations.
Comment 6 Nate Graham 2020-01-22 17:01:23 UTC

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