Geany's "New with template" submenu missing

Bug #750588 reported by Colomban Wendling
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
Low
Unassigned
libdbusmenu (Ubuntu)
Fix Released
Low
Michael Terry

Bug Description

Binary package hint: appmenu-gtk

Geany's sub-menu of the "New (with Template)" file menu item is missing when using appmenu-gtk (the default in 11.04).

This is because Geany shares the submenu between the menubar and the toolbar. It reparents it to the menu item when this one is shown, and put it back to the toolbar when hidden.
However, appmenu-gtk don't seem to export these signals, so don't allowing Geany to do the proper reparenting, thus never showing the submenu of the menu item.

appmenu-gtk: 0.2.0-0ubuntu1
geany: 0.20-0ubuntu2 (also applies to upstream SVN)

Tags: geany

Related branches

Michael Terry (mterry)
Changed in appmenu-gtk (Ubuntu):
assignee: nobody → Michael Terry (mterry)
status: New → In Progress
Michael Terry (mterry)
affects: appmenu-gtk (Ubuntu) → libdbusmenu (Ubuntu)
Ted Gould (ted)
Changed in dbusmenu:
status: New → Fix Committed
milestone: none → 0.4.2
Changed in libdbusmenu (Ubuntu):
status: In Progress → Fix Committed
importance: Undecided → Low
Changed in dbusmenu:
importance: Undecided → Low
Ted Gould (ted)
Changed in dbusmenu:
status: Fix Committed → Fix Released
Revision history for this message
Colomban Wendling (banw) wrote :

Hi,

I just built and installed dbusmenu from bazaar trunk (>= 0.4.2), and now the submenu appears correctly in Geany. However, the items in the submenu doesn't work when it is attached to the menubar (and strangely make the menubar flicker when getting activated).
So it's only a partial fix for now, sorry.

Revision history for this message
Michael Terry (mterry) wrote :

Guh, you're right. I don't know why I didn't try clicking on the items. :( I'll see why.

Changed in dbusmenu:
milestone: 0.4.2 → none
status: Fix Released → Triaged
Michael Terry (mterry)
Changed in libdbusmenu (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdbusmenu - 0.4.2-0ubuntu1

---------------
libdbusmenu (0.4.2-0ubuntu1) natty; urgency=low

  * New upstream release.
    * Fix GIR scan to not include duplicate namespaces (LP: #750575)
    * Keep refs to the client and makes sure to disconnect all handlers.
      (LP: #749609)
    * Add GTK side handlers for the open/close events to ensure GTK apps
      can use those events still (LP: #750588)
    * Create submenus for menuitems that don't have children but still
      have told us they need them with the child-display property.
      (LP: #619811)
 -- Ted Gould <email address hidden> Thu, 07 Apr 2011 10:32:51 -0500

Changed in libdbusmenu (Ubuntu):
status: In Progress → Fix Released
Michael Terry (mterry)
Changed in libdbusmenu (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Colomban Wendling (banw) wrote :

The branch sudo-make-me-an-activation-sandwich (nice name BTW :D) seems to work fine :)

Revision history for this message
Michael Terry (mterry) wrote :

I'm going to subscribe ubuntu-sponsors here so that if some kind sponsor sees this before Beta freeze Monday, they can distro-patch the branch. I've told Ted and Ken about it, so it might go in over the weekend, but in case it doesn't: the branch of interest is lp:~mterry/dbusmenu/sudo-make-me-an-activation-sandwich

Changed in libdbusmenu (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdbusmenu - 0.4.2-0ubuntu3

---------------
libdbusmenu (0.4.2-0ubuntu3) natty; urgency=low

  * Merged fix, guard against an activation that does not actually have
    an associated menu-hide (LP: #750588)
 -- Ken VanDine <email address hidden> Mon, 11 Apr 2011 00:56:02 -0400

Changed in libdbusmenu (Ubuntu):
status: In Progress → Fix Released
Ted Gould (ted)
Changed in dbusmenu:
status: Triaged → Fix Committed
milestone: none → 0.4.3
Ted Gould (ted)
Changed in dbusmenu:
status: Fix Committed → 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.