Package Details: appmenu-glib-translator-git 24.02.r30.ga819ab7-1

Git Clone URL: https://aur.archlinux.org/appmenu-glib-translator-git.git (read-only, click to copy)
Package Base: appmenu-glib-translator-git
Description: GLib-based library for translating DBusMenu-exported menus into GMenuModels. Used for vala-panel's system tray and all variants of vala-panel-appmenu. Can be used with GTK3 or GTK4.
Upstream URL: https://gitlab.com/vala-panel-project/vala-panel-appmenu
Licenses: LGPL3
Conflicts: appmenu-glib-translator
Provides: appmenu-glib-translator
Submitter: rilian
Maintainer: rilian
Last Packager: rilian
Votes: 0
Popularity: 0.000000
First Submitted: 2024-02-27 20:55 (UTC)
Last Updated: 2024-04-28 13:53 (UTC)

Required by (10)

Sources (1)

Latest Comments

rilian commented on 2024-04-08 08:22 (UTC) (edited on 2024-04-08 12:57 (UTC) by rilian)

Translator does nothing for widgets. It merely forms a model, and later model is populated by internal GTK means in widgets (vala-panel-appmenu- packages). Bold application name is simply add "bold" css property to first child of the menubar. But why first child is actually last - I do not know. With GTK applications you also observe last item in bold, not first? If yes, maybe I should do last child bold, not first. But anyway, it is vala-panel-appmenu-* issue, not translator one.

gschwarz commented on 2024-04-06 09:33 (UTC)

Maybe my description of the bug was not clear enough. vala-panel-appmenu-* does depend on appmenu-glib-translator-git. When I use any commit of appmenu-glib-translator later than f92b481b (including the most recent one) I 100% reproducibly get the bug as described: with KDE applications the rightmost menu bar item is displayed in bold instead of the leftmost (the application's name). I can reproduce this by changing nothing else but installing appmenu-glib-translator-git later than f92b481b and logging out and in again. I can fix it again by installing f92b481b (or earlier) of appmenu-glib-translator-git and logging out and in.

rilian commented on 2024-03-30 08:04 (UTC)

Translator has nothing to do with widgets anyway.

gschwarz commented on 2024-03-29 20:55 (UTC)

A bug must have been introduced with commit 3fa2f205 of vala-panel-appmenu. With appmenu-glib-translator from that commit on the global menu with KDE applications such as KMail or KSysGuard as well as with Chromium and Firefox-Appmenu always and reproducibly incorrectly has the rightmost, not the leftmost menu entry displayed in bold (if that option has been enabled). With f92b481b the issue does not occur. Once you figure out why this happens you might also be able to resolve https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/issues/377 which haa been present before and which shows the same behaviour, albeit not as persistently and for a different set of applications (I believe XFCE applications).