Qt apps menu disappears



  • This is a question, as this is not an issue with gnome-hud itself, but it is related to its setup.

    After setting up gnome-hud in Ubuntu (and installing its dependencies), I no longer get a menu in Qt application windows (I've observed this with VLC and VirtualBox, I'm not sure if it affects Qt4 apps too). I get this error when running VLC, after setting up gnome-hud:

    $ vlc
    VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
    [0000560cb0969630] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    Failed to unregister window menu, reason: org.freedesktop.DBus.Error.UnknownMethod ("Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/dbus/service.py", line 654, in _message_cb
        (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
      File "/usr/lib/python3/dist-packages/dbus/service.py", line 246, in _method_lookup
        raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
    dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: UnregisterWindow is not a valid method of interface com.canonical.AppMenu.Registrar
    ")
    [0000560cb09fedc0] main playlist: playlist is empty
    Failed to unregister window menu, reason: org.freedesktop.DBus.Error.UnknownMethod ("Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/dbus/service.py", line 654, in _message_cb
        (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
      File "/usr/lib/python3/dist-packages/dbus/service.py", line 246, in _method_lookup
        raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
    dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: UnregisterWindow is not a valid method of interface com.canonical.AppMenu.Registrar
    ")
    QObject::~QObject: Timers cannot be stopped from another thread
    

  • Qt Champions 2018

    @WilliamTi What Ubuntu version do you use?


Log in to reply