Bug 442743

Summary: Reverting screen rotation does not reset UI
Product: [Applications] systemsettings Reporter: Nicolas Fella <nicolas.fella>
Component: kcm_kscreenAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: indecisiveautomator, meven29, nate, plasma-bugs, rizzitello
Priority: NOR    
Version: 5.22.90   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.24
Attachments: Screenshot

Description Nicolas Fella 2021-09-20 15:02:07 UTC
STEPS TO REPRODUCE
1. Open KCM, screens are unrotated
2. Rotate a screen 90 clockwise by clicking the relevant button
3. Revert timer dialog appears
4. Click revert button

OBSERVED RESULT
Screen rotation is reset correctly.
90 clockwise button is selected


EXPECTED RESULT
unrotated button is selected


SOFTWARE/OS VERSIONS
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15-kde

ADDITIONAL INFORMATION
Wayland
Comment 1 Nicolas Fella 2021-09-20 15:03:26 UTC
Created attachment 141733 [details]
Screenshot
Comment 2 Nate Graham 2021-09-21 22:03:31 UTC
Confirmed.
Comment 3 indecisiveautomator 2021-11-01 23:03:21 UTC
This also affects display scale. If reverting the changed display options for scale, even though the setting successfully reverts, the slider will not revert with it. If you were to set, say, 150% scale up from 100% scale and then revert, the display will go back to 100% scale but the slider will stay at 150%.

It seems like these issues may be related, but should this be opened as a separate issue?
Comment 4 Méven Car 2021-12-16 11:15:20 UTC
Should be fixed in master aka Plasma 5.24.
https://invent.kde.org/plasma/kscreen/-/merge_requests/57

scale issue should be fixed with https://invent.kde.org/plasma/kscreen/-/merge_requests/68 (WIP)