gonzaarcr / Fildem

Fildem global menu
GNU General Public License v3.0
802 stars 86 forks source link

Not working in Ubuntu (Wayland) #55

Open syrop opened 3 years ago

syrop commented 3 years ago

It shows the menu, but clicking on it does not expand it.

Trying to click on items like File, Edit, shows this in the console:

Gdk-Message: 09:30:10.718: Window 0x2b2a410 is a temporary window without parent, application will not be able to position it on screen.

(-c:2346): Gtk-WARNING **: 09:30:10.719: no trigger event for menu popup

(-c:2346): Gdk-WARNING **: 09:30:10.722: Tried to unmap the parent of a popup

(-c:2346): Gtk-CRITICAL **: 09:30:10.726: gtk_window_set_mnemonics_visible: assertion 'GTK_IS_WINDOW (window)' failed

Works in X11.

Tested also in Ubuntu 20.10 and 20.04. In all version works only in X11, in Wayland producing the above messages in the console.

gonzaarcr commented 3 years ago

Try running GDK_BACKEND=x11 fildem when executing

syrop commented 3 years ago

It works, but there are two other bugs:

  1. The menu does not collapse when I click away. I have to select a menu item, then it collapses.
  2. After I used the menu for the first time, the menu headers no longer show. I can expand the menu, though.

Screenshot from 2021-04-21 08-12-39

gonzaarcr commented 3 years ago

Unfortunately, those are expected behaviors from Wayland :disappointed: at least for now