"<alex> seb128: seems a bit simple to me, we don't want to construct a
new object each time, rather we want one per screen"

I have 4 screens, wanted to know how many times constructor will be
called with this patch. Added 2 lines to
nautilus_desktop_background_constructor before return:

GdkScreen *screen = gtk_widget_get_screen(singleton->details->widget);
g_printerr("Desktop background constructed for screen %i!\n", 
gdk_screen_get_number(screen));

After building and installing new packages, when i run nautilus from terminal i 
got 4 lines:
Desktop background constructed for screen 0!
Desktop background constructed for screen 1!
Desktop background constructed for screen 2!
Desktop background constructed for screen 3!

So it seems that submitted patch already constructs new object only once
per screen!  Or am I missing something?

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

Title:
  white screen on second monitor when using two xsessions

Status in Nautilus:
  Confirmed
Status in “nautilus” package in Ubuntu:
  Confirmed
Status in “nautilus” source package in Precise:
  Confirmed

Bug description:
  If enable dual head mode (two X screens), the second monitor went
  white after login with unity or unity-2d. After tracking the gnome-
  session, it is caused by running "nautilus -n" for this configuration.
  And if kill the nautilus process, the desktop showed up normally on
  second screen.

  lsb_release -rd
  Description:    Ubuntu 11.10
  Release:        11.10

  apt-cache policy nautilus
  nautilus:
    Installed: 1:3.2.1-0ubuntu2
    Candidate: 1:3.2.1-0ubuntu2
    Version table:
   *** 1:3.2.1-0ubuntu2 0
          500 http://cn.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       1:3.2.0-0ubuntu5 0
          500 http://cn.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to