there is thresholding in the sensors... which is exactly the cause of this "bug".
When shaking, you make the threshold switch to landscape and by putting it flat down on the desk you keep it that way, not allowing the threshold to be hit to switch back to landscape. You just don't see it, because you're using an app that forces locked to portrait (the dash for example). As soon as you allow unity to rotate (by launching the settings app) it will catch up with what the sensors state is => landscape. Now, one way to get around the situation would be to disable the sensors while unity is locked to some orientation. This however seems quite tricky, as on one hand that would need to be synced with what sensors tell apps, but also apps might still want to know the physical orientation even though locked to some orientation. IMO this is working as expected, even though I agree it can cause some oddities like unintentional shaking. But in the end it's really what you tell the device to do. As an analogy, you're sort of asking for a mechanism to distinguish accidental display taps from intentional ones. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1474225 Title: Screen rotates itself to landscape when the phone is laying on the desk Status in qtubuntu-sensors: New Status in unity8 package in Ubuntu: New Bug description: Screen rotates itself to landscape when the phone is laying on the desk. I might be mistaken but this bug seems to be a new issue that arrived with the full shell rotation feature in wily. Using a phone while it's laying flat on the desk it sometimes rotates itself to landscape. Seems like we might have some over-sensitive accelerometer logic. $ system-image-cli -i current build number: 255 device name: mako channel: ubuntu-touch/devel-proposed/ubuntu last update: 2015-07-14 03:41:29 version version: 255 version ubuntu: 20150714 version device: 20150708 version custom: 20150714 To manage notifications about this bug go to: https://bugs.launchpad.net/qtubuntu-sensors/+bug/1474225/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp