← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1258669] [NEW] Threaded Programs Hang When Disposing Dialogs Created Via the Global Menu

 

Public bug reported:

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.

** Affects: unity-gtk-module
     Importance: Undecided
         Status: New


** Tags: threads

** Attachment added: "Minimal program to show the hanging fault"
   https://bugs.launchpad.net/bugs/1258669/+attachment/3924533/+files/main.c

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Unity GTK+ module.
https://bugs.launchpad.net/bugs/1258669

Title:
  Threaded Programs Hang When Disposing Dialogs Created Via the Global
  Menu

Status in Unity GTK+ module:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-gtk-module/+bug/1258669/+subscriptions


Follow ups

References