This Python script demonstrates the problem. Run it like this (also
added to bug description):

1) Download and run script from gnome-terminal (important).

2) When script is running, right-click gnome-terminal icon in Unity
launcher.

Unity crashes. With the fix in branch, Unity doesn't crash and displays
just "Item 1" in the dynamic part of the quicklist, which is the
intended behavior in the case of this script.

** Description changed:

  If the dynamic quicklist of a launcher icon contains a Dbusmenu Menuitem with 
property MENUITEM_PROP_VISIBLE set to False, then Unity crashes when the 
launcher icon is right-clicked. Currently dynamic quicklists aren't working 
(bug #729074), but I am running Unity built from this branch merged into trunk 
branch on my system:
  
https://code.launchpad.net/~ken-vandine/unity/make-quicklists-work-again/+merge/57386
  
  For some reason apport wasn't trapping the crashes and there were no
  crash files in /var/crash for this crash, so I backtraced manually using
  gdb. Attached is the entire gdb session file.
+ 
+ TEST CASE (for SRU): 1) Download and run this bug's attachment titled 'Unity 
crash test case script' in a terminal, when GNOME Terminal is running.
+ 2) Right-click the gnome-terminal icon in Unity's launcher.
+ 3) Unity crashes. With the fix in -proposed, Unity doesn't crash, and 
displays only "Item 1" in the quicklist, which is the intended behavior.

** Attachment added: "Unity crash test case fix"
   
https://bugs.launchpad.net/unity/+bug/759174/+attachment/2135290/+files/unity-test.py

** Description changed:

  If the dynamic quicklist of a launcher icon contains a Dbusmenu Menuitem with 
property MENUITEM_PROP_VISIBLE set to False, then Unity crashes when the 
launcher icon is right-clicked. Currently dynamic quicklists aren't working 
(bug #729074), but I am running Unity built from this branch merged into trunk 
branch on my system:
  
https://code.launchpad.net/~ken-vandine/unity/make-quicklists-work-again/+merge/57386
  
  For some reason apport wasn't trapping the crashes and there were no
  crash files in /var/crash for this crash, so I backtraced manually using
  gdb. Attached is the entire gdb session file.
  
- TEST CASE (for SRU): 1) Download and run this bug's attachment titled 'Unity 
crash test case script' in a terminal, when GNOME Terminal is running.
+ TEST CASE (for SRU): 1) Download and run this bug's attachment titled 'Unity 
crash test case script' in a terminal, when GNOME Terminal is running 
(important).
  2) Right-click the gnome-terminal icon in Unity's launcher.
- 3) Unity crashes. With the fix in -proposed, Unity doesn't crash, and 
displays only "Item 1" in the quicklist, which is the intended behavior.
+ 3) Unity crashes. With the fix in -proposed (not in proposed yet, will land 
as a part of 3.8.14), Unity doesn't crash, and displays only "Item 1" in the 
upper part of the quicklist, which is the intended behavior.

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

Title:
  Unity crashes when dynamic quicklist dbusmenu contains a hidden
  menuitem.

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

Reply via email to