Package Details: topmenu-mozilla-git 2015.08.05-1

Git Clone URL: https://aur.archlinux.org/topmenu-mozilla-git.git (read-only)
Package Base: topmenu-mozilla-git
Description: Firefox/Thunderbird Javascript module for TopMenu.
Upstream URL: https://git.javispedro.com/cgit/topmenu-gtk.git/about/
Licenses: LGPL3
Submitter: gborzi
Maintainer: None
Last Packager: gborzi
Votes: 23
Popularity: 0.000565
First Submitted: 2014-12-20 14:30
Last Updated: 2015-12-17 12:05

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

iCid commented on 2016-07-20 08:56

Oh man, I really hopped this would work. But I'm getting the same errors as the others:

Gtk-Message: Failed to load module "topmenu-gtk-module"

(firefox:4125): GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'
(firefox:4125): Gdk-CRITICAL **: IA__gdk_window_get_toplevel: assertion 'GDK_IS_WINDOW (window)' failed
(firefox:4125): GLib-GObject-WARNING **: cannot register existing type 'GtkAccelGroup'
(firefox:4125): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(firefox:4125): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(firefox:4125): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
(firefox:4125): GLib-GObject-WARNING **: specified class size for type 'TopMenuAppMenuBar' is smaller than the parent type's 'GtkMenuBar' class size
(firefox:4125): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

Can somebody fix this please! btw, Thunderbird works fine with this. It's the FF that's crashing.

sergey.orloff commented on 2016-05-10 21:36

Everything works with the package firefox-gtk2-bin from AUR (https://aur.archlinux.org/packages/firefox-gtk2-bin/), as it is configured through аbout:config ("xpinstall.signatures.required", false).

morebitz commented on 2016-02-08 18:23

As opposed to some propositions regarding add-on signing, that is actually not the problem.

Add-on signing can easily be deactivated in about:config by toggling xpinstall.signatures.required. Just start Firefox in safe mode.

Now the crash or freeze (in my case) occurs when you activate topmenu-bridge in the Add-on section. The following errors are given:

GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'
Gdk-CRITICAL **: IA__gdk_window_get_toplevel: assertion 'GDK_IS_WINDOW (window)' failed
GLib-GObject-WARNING **: cannot register existing type 'GtkAccelGroup'
GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
GLib-GObject-WARNING **: specified class size for type 'TopMenuAppMenuBar' is smaller than the parent type's 'GtkMenuBar' class size
GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

Please fix the add-on ;-)

vegas commented on 2016-01-30 03:29

Thanks!
This works fine, but now Firefox is not allows this add-on :(
https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox

mikhail21393 commented on 2015-12-17 22:51

@gborzi
I already reported upstream! I posted this so I am not the only with this issue. :)

gborzi commented on 2015-12-17 12:07

@mikhail21393
Please report upstream.

mikhail21393 commented on 2015-12-17 11:46

Since yesterday I upgraded to FF 43 and the add-on is blocked because FF speculated this as an unsigned add-on, anyway I tried to change the configuration on about:config using the above xpinstall.signatures.required (true), until I restarted FF and then it just crashed and it didn't open and I had to remove topmenu-mozilla-git to be able to start FF again.

Here is the crash when I launched firefox from terminal.

Gtk-Message: Failed to load module "topmenu-gtk-module"
Gtk-Message: Failed to load module "topmenu-gtk-module"
*************************
A coding exception was thrown and uncaught in a Task.

Full message: TypeError: this.Paths is null
Full stack: Agent.wipe@resource:///modules/sessionstore/SessionWorker.js:296:7
worker.dispatch@resource:///modules/sessionstore/SessionWorker.js:21:24
anonymous/AbstractWorker.prototype.handleMessage@resource://gre/modules/workers/PromiseWorker.js:122:16
@resource:///modules/sessionstore/SessionWorker.js:30:41

*************************

(firefox:6469): GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'

(firefox:6469): Gdk-CRITICAL **: IA__gdk_window_get_toplevel: assertion 'GDK_IS_WINDOW (window)' failed

(firefox:6469): GLib-GObject-WARNING **: cannot register existing type 'GtkAccelGroup'

(firefox:6469): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(firefox:6469): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(firefox:6469): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(firefox:6469): GLib-GObject-WARNING **: specified class size for type 'TopMenuAppMenuBar' is smaller than the parent type's 'GtkMenuBar' class size

(firefox:6469): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

It seems that the developer of this add-on needs to address this issue, and also it needs to be signed to be able to work properly, at least it worked in the earlier version of FF.


hmrodrigues commented on 2015-04-24 13:13

@gborzi
Now it work's, how can I use this in a automatic way? Using a script?

EDIT: I put
export GTK_MODULES=topmenu-gtk-module:canberra-gtk-module
on .xinitrc before exec startxfce4 and it works like a charm

hmrodrigues commented on 2015-04-24 13:07

@gborzi
Now it work's, how can I use this in a automatic way? Using a script?

gborzi commented on 2015-04-24 12:23

@hugao
try exporting GTK_MODULES before startx, i.e.
$ export GTK_MODULES=topmenu-gtk-module:canberra-gtk-module
$ startx

All comments