Public bug reported:

I'm trying to use separate x screens on nvidia card with 3 monitors. I'm
expecting one top panel + one bottom panel on each screen, but instead i
have got all panels on one screen.

Restarting gnome panel (gnome-panel --replace) it will create two extra
(blank) panel pairs on same screen, but new applets will be added on
first panel pair. Screenshot ilustrating problem can be found here -
http://askubuntu.com/questions/177226/duplicated-menu-panel-indicators-
and-taskbar

I tried to manualy set screen key (org->gnome->gnome-
panel->layout->toplevels->top-panel->screen) on wich screen panel should
appear with dconf Editor. But restarting gnome-panel that key will be
reseted.

Downloaded gnome-panel source code (apt-get source gnome-panel), spend
some time trying to find problem, and probably i found it in file panel-
toplevel.c.

Line 4458: if (!screen || GDK_IS_SCREEN (screen))
Line 4459: screen = gdk_screen_get_default ();

These lines are responsible for resetting screen key. It will reset
screen to default if currenct screen exist, but its not what we want. We
want reset screen to default if screen dosnt exist, so line 4458 should
be -  if (!screen || !GDK_IS_SCREEN (screen))

After compiling and installing new package, gnome panel works as
expected. I dont now how to make and submit patch, so someone with more
knowledge could do it.

** Affects: gnome-panel (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1083811

Title:
  Duplicated panels using separate x screens

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to