← Back to team overview

desktop-packages team mailing list archive

Re: [Bug 732867] Re: gnome-display-properties monitor layout not saved when re-docking (and display port)

 

gnome-settings-daemon listens for drm udev events to trigger automatic
layout updates. As it turns out, upower's current definition for "is
this machine docked" is "does this machine have more than one output
connected", and it...also listens for udev events - specifically from
drm, not dock devices - to trigger updating its internal value.

(upower doesn't use any of the actual ACPI dock detection mechanisms
because most modern docks don't actually register as ACPI docking
stations, so they don't show up at all in ACPI)

So in this particular case, upower doesn't know anything that g-s-d
doesn't.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/732867

Title:
  gnome-display-properties monitor layout not saved when re-docking (and
  display port)

Status in “gnome-settings-daemon” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gnome-control-center

  This happens on Lucid 10.4.02 with gnome-control-center version
  1:2.30.1-0ubuntu1

  I am not sure this is specifically gnome-control-center, but I figured
  I'd start with that package and we can move as appropriate.

  There appears to be two bugs here, but I wanted to keep the initial
  report as one issue, in case they're actually related. For what it's
  worth, I have reproduced this issue on a Lenovo X200 and have users
  internally who can reproduce this issue on a Lenovo X201 and a T410 on
  several different types and sizes of external monitor (all attached
  via display port -> DVI converters).

  The two issues are:

  - Windows "get lost" when display properties change.
  - The display property preferences aren't saved when undocking / re-docking.

  Here's how to reproduce:

  - Install Lucid Laptop on an X200
  - Attach the laptop to a docking station connected by display port -> dvr to a 24" monitor
  - Configure (system -> preferences -> monitor) displays to not be mirrored, show monitors in panel checked, drag the monitor to a different orientation, and increase the resolution in the monitor to something other than what the laptop has.
  - Open a web browser, put it in the 24" display.
  - Open a terminal and a gnome app (I used gnome mine) in the laptop display.
  - Detach the laptop (without suspending) to simulate going to a meeting, etc.

  At this point the first bug (about windows getting messed up) occurs.
  Notice that, while the browser window is moved to the laptop display,
  the gnome mines and original terminal disappeared. If I open a new
  terminal and run ps, I can see they're still running, but they're not
  on any of my visible/accessible displays.

  - Re-attach the laptop to the docking station

  At this point, the second bug is reproduced. The monitor configuration
  has reverted to "mirrored displays." When I reset my preferences to
  what I want, the original browser window (as well as the preferences
  window) moves to the 24" monitor, but my gnome mines are still
  missing, as well as the original terminal (the new terminal I opened
  in the laptop while detached in order to check for the disappeared
  window's pids is moved to the new monitor).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/732867/+subscriptions


References