Disabled screen rotation is ignored after returning from sleep
Affected version
- Ubuntu 22.04
- Gnome Shell 42.2 with XOrg
Bug summary
On my Yoga 460 sometimes after returning from sleep the screen randomly rotates, even though the Screen Rotation option is locked.
Steps to reproduce
- Screen rotation is locked
- Close the lid to make the laptop sleep (haven't tried direct suspend option)
- Reopen the lid
What happened
The screen can be rotated in all 4 directions.
What did you expect to happen
It stays in the, original+correct orientation.