You are not logged in.

#1 2025-02-11 00:41:49

TheArchitect
Member
Registered: 2015-04-03
Posts: 13

[SOLVED] Missing menu bar only with Inkscape

Hi,

On KDE Plasma with Wayland, I'm using Global Menu successfully, including for GTK applications (e.g. GIMP), with the notable exception of Inkscape. It's the only application where nothing appears in the Global Menu widget, and no hamburger icon appears in the titlebar either. No way to access the usual File/Edit/View/Extensions/...
The rest of the UI is perfectly fine.

appmenu-gtk-module is installed (and working, as Global Menu works with GIMP for example). I'm not in fullscreen mode. I've already tried reinstalling inkscape and deleting ~/.config/inkscape.

Not sure if it's related, but this is what I get when I launch Inkscape:

(org.inkscape.Inkscape:197456): Gtk-CRITICAL **: 01:26:06.940: invalid accelerator string ''

(org.inkscape.Inkscape:197456): Gtk-CRITICAL **: 01:26:06.940: gtk_application_accels_get_actions_for_accel: assertion 'accel_key.key != 0' failed

(org.inkscape.Inkscape:197456): Gtk-WARNING **: 01:26:06.941: Unable to parse accelerator '': ignored request to install 1 accelerators

** (org.inkscape.Inkscape:197456): WARNING **: 01:26:07.054: AT-SPI: Could not obtain desktop path or name


** (org.inkscape.Inkscape:197456): WARNING **: 01:26:07.077: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (org.inkscape.Inkscape:197456): WARNING **: 01:26:07.077: atk-bridge: get_device_events_reply: unknown signature

Any help would be much appreciated!

Last edited by TheArchitect (2025-02-12 19:37:07)

Offline

#2 2025-02-11 07:24:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Missing menu bar only with Inkscape

Just to be clear: the issue is that it doesn't work w/ appmenu-gtk-module, not in general?

Online

#3 2025-02-11 17:38:07

TheArchitect
Member
Registered: 2015-04-03
Posts: 13

Re: [SOLVED] Missing menu bar only with Inkscape

So, good question. With appmenu-gtk-module installed, I do not have a menu bar anywhere in Inkscape (but global menus work for all other apps). After uninstalling appmenu-gtk-module, the menu bar does appear.

As I do want to use global menus, how can I debug the Inkscape integration or, at least, is there a way to disable global menus for a specific app?

The GTK errors mentioned in my first post are unrelated to this issue as they remain without appmenu-gtk-module.

Last edited by TheArchitect (2025-02-11 17:40:15)

Offline

#4 2025-02-12 07:51:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Missing menu bar only with Inkscape

is there a way to disable global menus for a specific app?

https://gitlab.archlinux.org/archlinux/ … type=heads
Remove the module from the exported GTK_MODULES

GTK_MODULES=${GTK_MODULES/appmenu-gtk-module//} inkscape

I suspect the inkscape mene contains elements either the appmenu-gtk-module plugin cannot export or the appemenu server (taskbar thingy) cannot handle but the menubar gets hidden nevertheless, what would be a bug in appmenu-gtk-module => https://gitlab.com/vala-panel-project/v … u/-/issues

Online

#5 2025-02-12 19:36:46

TheArchitect
Member
Registered: 2015-04-03
Posts: 13

Re: [SOLVED] Missing menu bar only with Inkscape

Thank you.

I'll use this workaround for now, and will explore later where the bug might be.

Offline

#6 2025-04-08 22:12:07

GreenBackbone
Member
From: Tijuana, Mex
Registered: 2015-06-17
Posts: 37

Re: [SOLVED] Missing menu bar only with Inkscape

TheArchitect wrote:

Thank you.

I'll use this workaround for now, and will explore later where the bug might be.

hello sorry to revive this but im having this issue with ALL gtk apps, wondering how you got GIMP to work..

i tried all suggestions here but i cant get inkscape or gimp to work


Peace and Love to All!

Offline

#7 2025-04-09 06:14:47

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Missing menu bar only with Inkscape

The OP wrote:

appmenu-gtk-module is installed (and working, as Global Menu works with GIMP for example)

Do you use appmenu-gtk-module tbw? What if you don't?
Console output when starting gimp?

Online

Board footer

Powered by FluxBB