Accelerators broken in Firefox menus with dbusmenu 0.5.99-0ubuntu2
Bug #982656 reported by
Chris Coulson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DBus Menu |
Fix Released
|
High
|
Ted Gould | ||
libdbusmenu (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
I just noticed this evening that accelerators are missing from the History and Bookmarks menus in Firefox. After downgrading dbusmenu a few times, it seems that this worked last in 0.5.99-0ubuntu1 (and stopped working in 0.5.99-0ubuntu2).
The attached screenshot shows the issue. The "Show All History" item should have an accelerator item that says "Ctrl+Shift+H". The attached output from dbusmenu-dumper shows that Firefox is setting the correct shortcut property on this menuitem
Related branches
lp://staging/~ted/libdbusmenu/lp982656
- Charles Kerr (community): Approve
-
Diff: 23 lines (+1/-2)1 file modifiedlibdbusmenu-gtk/genericmenuitem.c (+1/-2)
lp://staging/~dbusmenu-team/ubuntu/precise/libdbusmenu/upstream
- Ken VanDine: Pending requested
-
Diff: 11864 lines (+11365/-22)62 files modifiedChangeLog (+32/-0)
configure (+11/-11)
configure.ac (+3/-3)
debian/changelog (+10/-0)
docs/libdbusmenu-glib/reference/html/annotation-glossary.html (+83/-0)
docs/libdbusmenu-glib/reference/html/api-index-deprecated.html (+31/-0)
docs/libdbusmenu-glib/reference/html/api-index-full.html (+593/-0)
docs/libdbusmenu-glib/reference/html/ch01.html (+50/-0)
docs/libdbusmenu-glib/reference/html/index.html (+49/-0)
docs/libdbusmenu-glib/reference/html/index.sgml (+176/-0)
docs/libdbusmenu-glib/reference/html/libdbusmenu-glib-DbusmenuClient.html (+607/-0)
docs/libdbusmenu-glib/reference/html/libdbusmenu-glib-DbusmenuMenuitem.html (+1893/-0)
docs/libdbusmenu-glib/reference/html/libdbusmenu-glib-DbusmenuMenuitemProxy.html (+166/-0)
docs/libdbusmenu-glib/reference/html/libdbusmenu-glib-DbusmenuServer.html (+412/-0)
docs/libdbusmenu-glib/reference/html/libdbusmenu-glib-Types.html (+276/-0)
docs/libdbusmenu-glib/reference/html/libdbusmenu-glib.devhelp2 (+161/-0)
docs/libdbusmenu-glib/reference/html/object-tree.html (+32/-0)
docs/libdbusmenu-glib/reference/html/style.css (+266/-0)
docs/libdbusmenu-glib/reference/tmpl/client.sgml (+228/-0)
docs/libdbusmenu-glib/reference/tmpl/menuitem-proxy.sgml (+59/-0)
docs/libdbusmenu-glib/reference/tmpl/menuitem.sgml (+721/-0)
docs/libdbusmenu-glib/reference/tmpl/server.sgml (+171/-0)
docs/libdbusmenu-glib/reference/tmpl/types.sgml (+109/-0)
docs/libdbusmenu-glib/reference/version.xml (+1/-1)
docs/libdbusmenu-glib/reference/xml/annotation-glossary.xml (+80/-0)
docs/libdbusmenu-glib/reference/xml/api-index-deprecated.xml (+8/-0)
docs/libdbusmenu-glib/reference/xml/api-index-full.xml (+153/-0)
docs/libdbusmenu-glib/reference/xml/client.xml (+448/-0)
docs/libdbusmenu-glib/reference/xml/menuitem-proxy.xml (+114/-0)
docs/libdbusmenu-glib/reference/xml/menuitem.xml (+1331/-0)
docs/libdbusmenu-glib/reference/xml/server.xml (+309/-0)
docs/libdbusmenu-glib/reference/xml/types.xml (+192/-0)
docs/libdbusmenu-gtk/reference/html/annotation-glossary.html (+47/-0)
docs/libdbusmenu-gtk/reference/html/api-index-deprecated.html (+31/-0)
docs/libdbusmenu-gtk/reference/html/api-index-full.html (+119/-0)
docs/libdbusmenu-gtk/reference/html/ch01.html (+45/-0)
docs/libdbusmenu-gtk/reference/html/index.html (+44/-0)
docs/libdbusmenu-gtk/reference/html/index.sgml (+43/-0)
docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-DbusmenuGtkClient.html (+347/-0)
docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-DbusmenuGtkMenu.html (+187/-0)
docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-menuitem.html (+274/-0)
docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-parser.html (+118/-0)
docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk.devhelp2 (+38/-0)
docs/libdbusmenu-gtk/reference/html/object-tree.html (+32/-0)
docs/libdbusmenu-gtk/reference/html/style.css (+266/-0)
docs/libdbusmenu-gtk/reference/tmpl/client.sgml (+110/-0)
docs/libdbusmenu-gtk/reference/tmpl/menu.sgml (+56/-0)
docs/libdbusmenu-gtk/reference/tmpl/menuitem.sgml (+86/-0)
docs/libdbusmenu-gtk/reference/tmpl/parser.sgml (+42/-0)
docs/libdbusmenu-gtk/reference/version.xml (+1/-1)
docs/libdbusmenu-gtk/reference/xml/annotation-glossary.xml (+32/-0)
docs/libdbusmenu-gtk/reference/xml/api-index-deprecated.xml (+8/-0)
docs/libdbusmenu-gtk/reference/xml/api-index-full.xml (+32/-0)
docs/libdbusmenu-gtk/reference/xml/client.xml (+238/-0)
docs/libdbusmenu-gtk/reference/xml/menu.xml (+133/-0)
docs/libdbusmenu-gtk/reference/xml/menuitem.xml (+178/-0)
docs/libdbusmenu-gtk/reference/xml/parser.xml (+77/-0)
libdbusmenu-glib/enum-types.h (+1/-1)
libdbusmenu-glib/enum-types.h.in (+1/-1)
libdbusmenu-gtk/genericmenuitem-enum-types.h (+1/-1)
libdbusmenu-gtk/genericmenuitem-enum-types.h.in (+1/-1)
libdbusmenu-gtk/genericmenuitem.c (+2/-2)
Changed in libdbusmenu (Ubuntu Precise): | |
importance: | Medium → High |
Changed in dbusmenu: | |
importance: | Undecided → High |
Changed in dbusmenu: | |
status: | New → Confirmed |
assignee: | nobody → Ted Gould (ted) |
milestone: | none → 0.6.2 |
Changed in libdbusmenu (Ubuntu Precise): | |
status: | New → Fix Committed |
summary: |
- Accelarators broken in Firefox menus with dbusmenu 0.5.99-0ubuntu2 + Accelerators broken in Firefox menus with dbusmenu 0.5.99-0ubuntu2 |
Changed in dbusmenu: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
@@ -287,11 +312,15 @@ gtk_accel_ label_new( local_label) ); set_use_ underline( GTK_LABEL( labelw) , TRUE); label_set_ use_markup( GTK_LABEL( labelw) , TRUE); misc_set_ alignment( GTK_MISC( labelw) , 0.0, 0.5); label_set_ accel_widget( GTK_ACCEL_ LABEL(labelw) , GTK_WIDGET( menu_item) ); set_markup_ with_mnemonic( labelw, local_label); in_label, FALSE)) { set_use_ underline( GTK_LABEL( labelw) , TRUE); label_set_ accel_widget( GTK_ACCEL_ LABEL(labelw) , GTK_WIDGET( menu_item) ); set_markup_ with_mnemonic( labelw, local_label); widget_ show(GTK_ WIDGET( labelw) );
if (labelw == NULL) {
/* Build it */
labelw = GTK_LABEL(
- gtk_label_
gtk_
gtk_
- gtk_accel_
- gtk_label_
+
+ if (has_mnemonic(
+ gtk_label_
+ gtk_accel_
+ gtk_label_
+ }
+
gtk_
/* Check to see if it needs to be in the bin for this
Surely the call to gtk_accel_ label_set_ accel_widget( ) should be outside of this conditional?