Bug 473028

Summary: Rotate to current orientation when enabling autorotate
Product: [Plasma] plasma-mobile Reporter: Raphaël Jakse <raphael.kde>
Component: generalAssignee: Plasma Mobile Bugs <plasma-mobile-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Raphaël Jakse 2023-08-05 10:01:27 UTC
SUMMARY

When disabling auto rotate, then turning the device in and then enabling autorotate back, I would expect the screen to rotate to match the current orientation of the device. This would allow not to have to turn the device and turn it back to get the right orientation. This would also match Phosh's behavior.

STEPS TO REPRODUCE
1. disable autorotate
2. turn the device
3. enable autorotate

OBSERVED RESULT

The current orientation remains.

EXPECTED RESULT

The new orientation is used.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5.27.5
KDE Frameworks Version:  5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Mobian testing (up to date)