Autorotation: first change of orientation after boot is reverted after a few seconds
Summary:
On a tablet / 2-in-1 device with autorotation enabled, the first change of orientation after boot is automatically cancelled after about 1 second, reverting the orientation to landscape regardless of the actual physical orientation of the device. Further changes of the physical device orientation result in the correct display orientation, as expected.
- Product: mutter 3.30+ (master, jhbuild)
- Distribution: Fedora 28
- Type: regression (works as expected on 3.28.3)
- How reproducible: always
Steps to reproduce:
- Boot the tablet / 2-in-1 laptop.
- Log into a new Gnome Shell 3.30+ session with the device physically oriented in landscape mode.
- Physically rotate the device to any other orientation.
- Wait for the display to rotate to match the device orientation.
- Wait a few seconds more without changing the device orientation.
Expected behavior:
- The display orientation remains unchanged until the device is rotated again.
Observed behavior:
- The display blinks briefly.
- The display orientation automatically reverts to landscape after about 1 second, from the moment the display is first rotated.
Notes:
- This only happens the first time the device is rotated after booting.
- The issue is not present on subsequent rotations.
- The issue is not present after logging out and in again.
Let me know if you need any further information.