Skip to content

XFCE: vala-panel global menu does not display shortcuts for applications built with XfceGtkActionEntries?

Xfce4-terminal's pull-down menus when attached to the window's to display shortcuts such as Shift-Ctrl-Q etc. When using vala-panel global menu (on XFCE) (version 0.7.6) the menu entries do not include the shortcuts. This is true fpr xfce4-terminal 0.9.0 or later. With 0.8.2 it still worked (on the same system, so everything else is identical. I looked into xfce4-terminal 0.9.0's changelog and found the following entry:

"Replace the deprecated GtkActionEntries with XfceGtkActionEntries (Issue #79 (closed))

Additionally the UI has been rebuilt, not using gtk_ui_manager. Shared UI submenus are grouped into sections. Button press events are not consumed by the active accelerators, so they are always passed to the terminal widget. The terminal widget decides if they should be acted upon or ignored. Some GtkActions remain (e.g. encoding action)."

I suspect this is related to that change. Is vala-panel global menu on Xfce supposed to work with XfceGtkActionEntries and properly display key shortcuts in the pull-down menus?

According to https://gitlab.xfce.org/apps/xfce4-terminal/-/issues/79 the switch to XfceGtkActionEntries has also been made for Thunar File Manager. Indeed with Thunar the same issue comes up (no shortcuts in pull-down menus when using Vala-Panel global menu, otherwise there are).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information