← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1288332] Re: Orientation lock not available (rotation/portrait lock)

 

> 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
Touch seeded packages, which is subscribed to gsettings-ubuntu-touch-
schemas in Ubuntu.
https://bugs.launchpad.net/bugs/1288332

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

Status in Platform API:
  In Progress
Status in Qt integration with the Mir display server:
  In Progress
Status in QT Ubuntu:
  In Progress
Status in “gsettings-ubuntu-touch-schemas” package in Ubuntu:
  Fix Released
Status in “ubuntu-system-settings” package in Ubuntu:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Opinion
Status in “unity8” package in Ubuntu:
  Opinion

Bug description:
  Ubuntu Trusty r188

  1. Open System Settings.
  2. Try to turn on Orientation Lock.

  What happens: There's no such setting.

  <https://wiki.ubuntu.com/SystemSettings#phone-quick-access>: "The
  quick access area is a group of list items at the top of the overview
  screen. It should always contain 'Orientation Lock'..."

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


References