← Back to team overview

touch-packages team mailing list archive

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

 

Here's another example: it also does it if you turn off the rotation
lock.

* Open the browser
* Hold the phone long edge perpendicular to the table
* Wait until it switches to portrait mode
* Put phone flat on the table
* Turn on rotation lock
* Hold phone short edge perpendicular to the table for a few seconds
* Put phone flat on the table
* Turn off rotation lock
* Browser rotates

This just happened to me yesterday.  I was happily reading some news in
portrait mode when it occurred to me that the rotation lock was on and I
normally keep it turned off.  So I turned it off - and got an
incomprehensible rotation.

Since it's locked in portrait mode, turning off the rotation lock
happens while the UI is in portrait mode.  At that time there's no
accelerometer data to indicate that the phone is really in landscape.
There is only historical accelerometer data indicating that once upon a
time the phone was in landscape.  But it rotates anyway.  This is why
I'm saying you should only ever rotate the phone to landscape if the
accelerometer says it's in landscape right now.

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