Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vala-panel-appmenu missing dependencies #37064

Closed
sm-idk opened this issue May 9, 2022 · 2 comments
Closed

vala-panel-appmenu missing dependencies #37064

sm-idk opened this issue May 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@sm-idk
Copy link

sm-idk commented May 9, 2022

System

  • xuname: Void 5.15.36_1 x86_64 AuthenticAMD uptodate rrrrrmmdnFFFFFFFF
    output of xuname (part of xtools)
  • package: vala-panel-appmenu-0.7.6_2
    affected package(s) including the version: xbps-query -p pkgver <pkgname>

Expected behavior

Package should pull libdbusmenu-gtk3, libdbusmenu-qt5 alongside just libdbusmenu-glib so all windows that want to use the appmenu functionality will work with vala-panel-appmenu out of the box. (possible that it needs appmenu-gtk-module, appmenu-gtk3-module and appmenu-registrar along with it, but i didn't test that out yet)

Actual behavior

None of the packages are dependencies of the vala-panel-appmenu package, making vala-panel and vala-panel-appmenu have the same functionality

Steps to reproduce the behavior

# xbps-install vala-panel-appmenu
$ vala-panel -p appmenu #This will not work
# xbps-install vala-panel-appmenu libdbusmenu-gtk3 libdbusmenu-qt5
$ vala-panel -p appmenu #This will work as intended
@paper42 paper42 added the bug Something isn't working label May 9, 2022
@glaulher
Copy link
Contributor

glaulher commented Aug 26, 2022

appmenu doesn't work without below steps in xfce:

add in /etc/environment:

export GTK_MODULES=appmenu-gtk-module

install:

appmenu-gtk-module appmenu-gtk3-module
appmenu-register xfce4-panel-appmenu

and resolve a bug in schemes:
create org.appmenu.gtk-module.gschema.xml in

/usr/share/glib-2.0/schemas/

contents:

<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
  <schema id="org.appmenu.gtk-module" path="/org/appmenu/gtk-module/">
    <key name="blacklist" type="as">
      <summary>Application blacklist</summary>
      <description>List of applications where appmenu-gtk-module should be disabled.</description>
      <default>['anjuta','freeciv', 'freeciv-gtk2', 'freeciv-gtk3', 'glade','gwyddion']</default>
    </key>
    <key name="whitelist" type="as">
      <summary>Application whitelist</summary>
      <description>List of applications where appmenu-gtk-module should be enabled.</description>
      <default>[]</default>
    </key>
    <key name="always-show-inner-menu" type="b">
      <summary>Always show menus in application</summary>
      <description>If this is enabled, menus will not removed from applications even if registrar found. Useful for HUD-only usage.</description>
      <default>false</default>
    </key>
  </schema>
</schemalist>

load as root:
glib-compile-schemas /usr/share/glib-2.0/schemas/

@sgn
Copy link
Member

sgn commented Dec 15, 2023

not reproducible

@sgn sgn closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants