← Back to team overview

touch-packages team mailing list archive

[Bug 1500633] Re: orientation sensor "last vertical" seems to be remembered and applied

 

Sorry to write so much about this: this bug has literally cost me that
much time.  Here's me trying to boil down the logic to point form:

1. The UI can be in one of two states: A or B
2. The accelerometer can be in an infinite number of states, some combination of acceleration in three dimensions
3. There is a thing called "System X" which tries to determine the user's current desired orientation from the accelerometer
4. System X's output can be one of three states: A, B or UNKNOWN (i.e. flat)
5. Apps (lock screen counts as an app) can support being in state A, or state B, or both
6. The shell has to be in the same state as the current app
7. If the current app only supports one state, ignore System X and switch UI to that state
8. If the current app supports both states, and System X indicates A or B, switch UI to that state
9. But if System X indicates UNKNOWN, do not switch

Bonus point:

10. Whenever the UI changes from A to B or vice versa, switch all
background apps that support both states, not just the current app

This bug is basically saying the system hasn't implemented point 9.  I
guess that's because System X, whatever that is, currently only supports
two states rather than three.

-- 
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/1500633

Title:
  orientation sensor "last vertical" seems to be remembered and applied

Status in QtMir:
  Incomplete
Status in Ubuntu UX:
  In Progress
Status in qtmir package in Ubuntu:
  Incomplete
Status in unity8 package in Ubuntu:
  Incomplete

Bug description:
  latest rc-image

  1. download and install machines vs machines
  2. open machines vs machines
  3. open browser, rotate to landscape
  4. lay flat on table so that browser is still in landscape
  5. switch back to machines vs machines with launcher
  6. raise top of phone as to make the phone vertical in portrait, lay back down flat
  7. switch to browser

  expected: browser would be in landscape
  actual: browser rotates

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1500633/+subscriptions