Threaded Programs Hang When Disposing Dialogs Created Via the Global Menu

Bug #1258669 reported by Rob Norris
50
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity GTK+ module
Fix Committed
High
William Hua
Viking
New
Undecided
Unassigned
psensor
Fix Released
Undecided
Unassigned
unity-gtk-module (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This problem was spotted on Viking (see: https://bugs.launchpad.net/ubuntu/+source/viking/+bug/1255275).

I have distilled this down to the (I think) bare minimum valid thread program that displays this fault (as attached).

Here the program will hang when dialog that is created via the Main Menu is closed.
 Goto Menu Bar -> File->Dialog->Close ---> Program Hangs

This only occurs under the Unity Desktop.
When run under another Desktop such as LXDE (lubuntu-desktop) then the program operates correctly.

Thus I assume this is a fault of this Unity GTK+ module.

I note another workaround for programs is to avoid the global menu thing by running with an empty UBUNTU_MENUPROXY environment variable.

Tags: threads

Related branches

Revision history for this message
Rob Norris (rw-norris) wrote :
Revision history for this message
Jean-Philippe Orsini (jfi) wrote :

- reproduced the issue with the attached sample from Rob
- spotted on Psensor (see: https://bugs.launchpad.net/ubuntu/+source/psensor/+bug/1267565 )

Changed in unity-gtk-module:
status: New → Confirmed
Changed in psensor:
status: New → Confirmed
William Hua (attente)
Changed in unity-gtk-module:
status: Confirmed → In Progress
assignee: nobody → William Hua (attente)
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:unity-gtk-module at revision 316, scheduled for release in unity-gtk-module, milestone Unknown

Changed in unity-gtk-module:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-gtk-module - 0.0.0+14.04.20140311-0ubuntu1

---------------
unity-gtk-module (0.0.0+14.04.20140311-0ubuntu1) trusty; urgency=low

  [ CI bot ]
  * Release trunk to the archive

  [ William Hua ]
  * Filter out mnemonics when the gtk-enable-mnemonics setting is
    cleared. Workaround for LP: #1282782. (LP: #1282782)
  * Dispatch gtk_menu_item_activate () in a GDK idle. (LP: #1258669)
 -- Ubuntu daily release <email address hidden> Tue, 11 Mar 2014 12:38:16 +0000

Changed in unity-gtk-module (Ubuntu):
status: New → Fix Released
Changed in psensor:
status: Confirmed → 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.