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

Hmm indeed, maybe in that case we just need a DBus API on the shell 
(bool property) that the settings app/indicator will toggle, and shell 
will do all it needs (using the already-available gsetting)?

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