> The orientation lock value (it needs to be one of the 4 available 
> orientations to store and recover between sessions, for example) 
> will be stored in gsettings, written to by settings app, reset by 
> settings app and $indicator, TBC.

I agree with everything except this bit. I think the GSetting API should
be a boolean, orientation lock on/off.

It will be up to shell to save the last locked orientation somewhere
separately, and use that if session restored.

Reason I propose this is: applications are not guaranteed to know the
orientation of the shell/device. Main example is tablet side-stage apps:
they will be told they're portrait (as they would be on the phone), but
the device is actually landscape.

IMO it really makes more sense for shell to just listen for an
orientation lock on/off switch, and just do the right thing. I think
otherwise there's a danger USS might choose the wrong orientation for
shell to lock in.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1288332

Title:
  Orientation lock not available (rotation/portrait lock)

To manage notifications about this bug go to:
https://bugs.launchpad.net/platform-api/+bug/1288332/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to