ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.29k stars 110 forks source link

Native orientation not respected on boot #1232

Open NeoTheThird opened 5 years ago

NeoTheThird commented 5 years ago

The native orientation does not seem to be respected in the edge channel. The greeter will always be in the native orientation, but after unlocking after booting, the device will rotate to portrait mode when lying flat on the table. Tilting the device upright into landscape mode before unlocking works and also logs a change in orientation. Probably a race-condition where an env var is read before it's set?

This is not a recent regression and has been a problem on edge for a while.

This creates a bad experience for devices such as the M10, which are pyhsically laid out to be used in landscape mode.

UniversalSuperBox commented 5 years ago

I don't know if this is unique to edge. My Nexus 7 has always done this and still does on stable. I think we might just be assuming the wrong thing when the sensor tells us the device is "Face up".