← Back to team overview

touch-packages team mailing list archive

[Bug 1401916] Re: Configuration of screens positions and geometry

 

I think we can (and should) draw a line between display server libraries
and permanent config. It doesn't exist in Mir right now so we'd have to
have a very good reason to add it.

Instead, Mir does provide structures to fully describe the display
config. These structures are read and written to the display server. If
you wanted to save a preferred config to disk then it's a simple matter
of converting that structure to some nice format and back again.
Although I suggest that is not Mir's job.

Similarly, everything else you can configure in Mir has the same problem of how to store preferences permanently. I think the right answer is to push permanent storage up to the shell so that the shell can:
  (a) Provide a nice GUI to change things; and
  (b) Use it's own preferred API. Large toolkits usually provide their own:
    Qt: QSettings
    GTK: gconf/GSettings

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

Title:
  Configuration of screens positions and geometry

Status in Mir:
  Fix Released
Status in Qt integration with the Mir display server:
  New
Status in Ubuntu UX bugs:
  New
Status in unity8 package in Ubuntu:
  Confirmed

Bug description:
  Under unity7/xorg it's possible to configure the position of the screens and their geometry, that includes
  - resolution of each screen
  - rotation possible
  - relative position (external on top of laptop, or on the right)
  - definition of a "primary" monitor (the one containing the launcher if you decide to have that UI element only on one screen)
  - etc

  Under unity7 the configuration is applied on login by unity-settings-
  daemon using xrandr. In the new world unity8 should probably be the
  one setting up the configuration at start

  It would be useful to have input from design as well, on what should
  happen when connecting an unity8 powered device to an external screen.
  Should it mirror by default? Do we need settings control to configure
  what to do, ...

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


References