Cannot add applets to second X server display in 11.04

Bug #774427 reported by Joseph Coffland
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
GNOME Panel
Fix Released
High
gnome-panel (Ubuntu)
Fix Released
Low
Unassigned
Natty
Fix Released
Low
Rodrigo Moya

Bug Description

Binary package hint: gnome-panel

Adding any applet on the second screen of a dual X server configuration yields the following error:

  "<Applet Name>" has quit unexpectedly
  If you reload a panel object, it will automatically be added back to the panel.

Applets work fine on the first display. Adding applets on the second display worked fine in 10.10 and earlier.

I have a single dual-head Nvidia card which is configured for dual X servers. I.e. not TwinView. TwinView does not work well with my monitors.

Revision history for this message
Joseph Coffland (jcoffland) wrote :

Correction, this seems to occur only for certain applets. Specifically I'm having trouble with the following:

  Window List
  Window Selector
  Workspace Switcher

Perhaps it is only applets that deal with windows on the second display.

Revision history for this message
Marco Piraccini (marco-piraccini) wrote :

The very same behaviour. Also the Clock applets does not work.

Revision history for this message
Joseph Coffland (jcoffland) wrote :

Anyone know how to view any gnome-panel applet error logs other than the fairly uninformative pop-up error?

Revision history for this message
Ofer Chen (oferchen) wrote :

this is the only way I found...
gnome-session-remove gnome-panel
gdb gnome-panel
run

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that seems similar to https://bugzilla.gnome.org/show_bug.cgi?id=632369 and http://git.gnome.org/browse/gnome-panel/commit/?id=cb969e989477e2671d1e0cdd1519866d61d0c98c would anyone be able to try the git commit to see if it's working?

Changed in gnome-panel (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Changed in gnome-panel (Ubuntu Natty):
importance: Undecided → Low
status: New → Triaged
Changed in gnome-panel (Ubuntu Natty):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
status: Triaged → In Progress
Changed in gnome-panel (Ubuntu Natty):
status: In Progress → Fix Committed
Revision history for this message
Joseph Coffland (jcoffland) wrote :

I rebuilt my gnome-panel with the patches at https://bugzilla.gnome.org/show_bug.cgi?id=632369. I can now add those applets on the second display and they seem to work. The only remaining problem is that when I right click on these applets in the second display the popup menu shows on the first display.

Changed in gnome-panel (Ubuntu Natty):
status: Fix Committed → In Progress
Changed in gnome-panel (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Fabien Chéreau (xalioth) wrote :

What about raising the Importance to high? This bug is really extremely annoying for dual screen users :(

Revision history for this message
Ofer Chen (oferchen) wrote :

raising the importance will not help fixing the bug
it was reported yesterday and there is already a draft of a patch to solve the issue, be patient it will solved in a few days.

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted gnome-panel into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gnome-panel (Ubuntu Natty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Ofer Chen (oferchen) wrote :

yes the fix works fine with one exception applet context menu appears in the primary monitor

Changed in gnome-panel:
importance: Unknown → High
status: Unknown → New
Revision history for this message
Ofer Chen (oferchen) wrote :

looks like a fix has been suggested for the context menu issue
http://bugzilla-attachments.gnome.org/attachment.cgi?id=179797

can someone test if it works?

Revision history for this message
Joseph Coffland (jcoffland) wrote :

@Ofer Chen That patch does not fix the context menu issue. I applied it earlier.

Revision history for this message
Ofer Chen (oferchen) wrote :
Revision history for this message
Joseph Coffland (jcoffland) wrote :

@Ofer Chen, sorry that patch didn't work either. I'm building the Ubuntu 11.04 version of gnome-panel which already contained an exact copy of the function panel_context_menu_check_for_screen(), only further down in the file. I had to delete one copy of the function to get it to compile. There was no noticeable change in behavior.

I checked and found that panel_context_menu_check_for_screen() was already in the original gnome-panel-2.32.1 source at gnome-panel/panel-context-menu.c:61. The calls added by your patch were new.

Revision history for this message
Ofer Chen (oferchen) wrote :

maybe Vincent Untz have some insight since this has been fixed by him before..

Revision history for this message
Martin Pitt (pitti) wrote :

As the proposed package improves the situation, I'll mark this verification-done. Please feel free to reopen for the remaining issue.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-panel - 1:2.32.1-0ubuntu6.5

---------------
gnome-panel (1:2.32.1-0ubuntu6.5) natty-proposed; urgency=low

  * debian/patches/92_git_calendar_day.patch:
    - gtk_calendar_get_date returns the month between 0 and 11, so add +1
      to the month being passed to Evolution (LP: #760523)
  * debian/patches/92_git_fix_applets_in_multiscreen.patch:
    - Add upstream patch to fix addition of applets in multiscreen (LP: #774427)
 -- Rodrigo Moya <email address hidden> Mon, 02 May 2011 12:59:50 +0200

Changed in gnome-panel (Ubuntu Natty):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to oneiric as well.

Changed in gnome-panel (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Joseph Coffland (jcoffland) wrote :

I've opened a new bug for the popup menu issue:

  https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/780652

Changed in gnome-panel:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.