LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed

Bug #813775 reported by Bryce Harrington on 2011-07-20
84
This bug affects 15 people
Affects Status Importance Assigned to Milestone
Global menubar extension
Low
Unassigned
firefox (Ubuntu)
Undecided
Unassigned

Bug Description

Freshly installed system. started firefox from gnome-terminal and saw this assertion hit.

However, firefox seems to be running ok.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: firefox 6.0~b2+build1+nobinonly-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-5.6-generic 3.0.0-rc7
Uname: Linux 3.0.0-5-generic i686
Architecture: i386
Date: Wed Jul 20 13:28:26 2011
FirefoxPackages:
 firefox 6.0~b2+build1+nobinonly-0ubuntu1
 flashplugin-installer 10.3.181.34ubuntu1
 adobe-flashplugin N/A
 icedtea-plugin 1.1.1-1ubuntu1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110623)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox
UpgradeStatus: Upgraded to oneiric on 2011-07-20 (0 days ago)

Bryce Harrington (bryce) wrote :
Chris Coulson (chrisccoulson) wrote :

This is because Firefox sets an accelerator on one of its menuitems which GTK doesn't consider valid (even though the accelerator works fine when Firefox draws its own menu). The menuitem is hidden by default though anyway, but I'm not sure what to do about this warning (other than changing default accelerators in Firefox to deviate from the upstream defaults, which I'd rather not do)

Changed in globalmenu-extension:
importance: Undecided → Low
status: New → Triaged
jc1985 (jc1985) wrote :

just upgraded to firefox 6 on natty, firefox crashes everytime I click on something on gmail or facebook...
launching firefox from terminal gives me this error :
LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed

this bug seems critical to me.

Chris Coulson (chrisccoulson) wrote :

No, this bug is just a warning. If you're experiencing a crash, then it's totally unrelated to this.

jc1985 (jc1985) wrote :

you are right, the Load Tab Progressively addon was guilty in my case...

Changed in firefox (Ubuntu):
status: New → Confirmed
Joseph Piché (josephpiche) wrote :

I experienced this on 11.10 Beta 1 live cd when Firefox was launched from `ubuntu-bug`.

Changed in globalmenu-extension:
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package firefox - 14.0~b8+build1-0ubuntu1

---------------
firefox (14.0~b8+build1-0ubuntu1) quantal; urgency=low

  * New upstream release from the beta channel (FIREFOX_14_0b8_BUILD1)

  * Update globalmenu-extension to 3.3 prerelease r369
    - Fix LP: #1010580 - No choice of folder when adding a bookmark from
      the bookmark menu
    - Fix LP: #775080 - Thunderbird with Firetray/MinimizeToTray -
      Global menu disappears
    - Fix LP: #813775 - Hitting an assertion in dbusmenu
    - Fix LP: #861565 - No buttons in the "Show All Bookmarks" dialog
 -- Chris Coulson <email address hidden> Wed, 20 Jun 2012 18:17:11 +0100

Changed in firefox (Ubuntu):
status: Confirmed → Fix Released
Changed in globalmenu-extension:
status: Fix Committed → Fix Released
Gabriel Coimbra (synamics) wrote :

Thanks, It seems to be fixed...

erdnaxeli (erdnaxeli) wrote :

I have the same bug here : (firefox:18412): LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed.

Firefox package version : 14.0.1+build1-0ubuntu0.12.04.1.

Pюtя Dчыэc (pidybi) wrote :

in Firefox package version: "21.0~b6+build1-0ubuntu0.13.04.1~mfn1" I have the same error :-/

Louis (louis-louis) wrote :

I'm on Ubuntu 12.04 with Firefox 26.0 and I will have this bug.

While running firefox the terminal I get this output:

(firefox:15419): LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed

And the theme switches from black top bar to grey top bar and the text on the inactive tabs become unreadable. I use the default theme.

Before: http://i.imgur.com/lMgqVl8.png
After: http://i.imgur.com/KxrOQr7.png

I can still start firefox in private or save mode and get the normal black theme

Mary Mojica (pisciotti) wrote :

Hey! Today I updated my system (Ubuntu 14.04 LTS) and this bug returned.
Is it possible to find out if the proposed solution would work for this new version of the bug?
Thank you in advance.

Arno Mühren (arnomuhren) wrote :

I have this error in the terminal when running Firefox 49 on Ubuntu 16.10.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers