I am running newest geany on ubuntu 18.04, sometimes when I click on the menu(File, Edit, Search,...) , they're no longer responsive. I can still use other areas as normal(e.g. editing). To get the menu items "active" again I have to restart geany.
What versions of Geany, GTk, Glib? What desktop?
Geany 1.32 on ubuntu 18.04 64bit default desktop(glib 2.0, gtk, libgtk3?), it comes and goes, any suggestion on how to capture a debug log of it?
Does Ubuntu 18.04 use a out-of-app menubar? Could be a reason.
@laoshaw for the various version info, go to *Help → Debugging messages* and look at the first few ones.
here is the debugging message, I'm not using out-of-app menu, just saw the "bug" again. When click has no effects on menus, I can still do 'ctrl-O, ctrl-N' with keyboard. I also noticed in syslog I have "Window 0x55a21f10e7d0 has not been made visible in GdkSeatGrabPrepareFunc".
``` 14:31:58: Geany INFO : Geany 1.32, en_US.UTF-8 14:31:58: Geany INFO : GTK 3.22.30, GLib 2.56.3 14:31:58: Geany INFO : System data dir: /usr/share/geany 14:31:58: Geany INFO : User config dir: /home/xxiao/.config/geany 14:31:59: fcitx-connection DEBUG : _fcitx_connection_create_ic 14:31:59: Geany INFO : System plugin path: /usr/lib/x86_64-linux-gnu/geany 14:31:59: Geany INFO : Added filetype Arduino (61). 14:31:59: Geany INFO : Added filetype Cython (62). 14:31:59: Geany INFO : Added filetype CUDA (63). 14:31:59: Geany INFO : Added filetype Scala (64). 14:31:59: Geany INFO : Added filetype Genie (65). 14:31:59: Geany INFO : Added filetype JSON (66). 14:31:59: Geany INFO : Added filetype Clojure (67). 14:31:59: Geany INFO : Added filetype Graphviz (68). 14:31:59: Geany INFO : Loaded libvte from libvte-2.91.so.0 14:31:59: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/addons.so (Addons) 14:31:59: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/autoclose.so (Auto-close) 14:31:59: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/git-changebar.so (Git Change Bar) 14:31:59: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/projectorganizer.so (Project Organizer) 14:31:59: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/saveactions.so (Save Actions) 14:31:59: Geany INFO : Loaded: /usr/lib/x86_64-linux-gnu/geany/splitwindow.so (Split Window) 14:31:59: Geany INFO : unknown : None (UTF-8) ```
@laoshaw perhaps its the fcitx input method, can you try a different one?
I'm turning off fcitx and trying it and see what happens. Thanks.
I killed all fcitx related processes however:
1. fcitx_connection_bus is still in geany's debug message??? why is fcitx having anything to do with fcitx 2. move mouse away to a terminal, click in the terminal, come back to geany, the menu are "dead" for mouse clicks, very reproducible. if I move mouse away to my browser and click around then come back, geany is fine.
``` <snip> 18:48:23: fcitx-connection DEBUG : _fcitx_connection_create_ic 18:48:23: fcitx-connection DEBUG : _fcitx_connection_watch <snip> 18:44:30: fcitx-connection DEBUG : _fcitx_connection_bus_finished 18:44:30: GLib-GIO CRITICAL : g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed <repeat 40+ times> 18:44:30: GLib-GIO CRITICAL : g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed ```
more testing, no fcitx running, menu inactive after random time of staying in geany,
Closed #2118.
Reopened #2118.
@laoshaw as @b4n asked, are you using the separate menu bar?
no I am not, all menus are within geany itself, either it's now ubuntu 18.04 default or I gnome-tweaked it this way.
@laoshaw ok, the problem is that this doesn't seem to happen for other users, so its a case of finding whats different about your setup. So if you have successfully turned off the input methods, and are not using the funny menu those are not the problem. Only other suggestion I can make is try the latest version (1.34.1), you might have to build it since its not clear that the [PPA](https://launchpad.net/~geany-dev/+archive/ubuntu/ppa) has it for 18.04 though, @hyperair why does the PPA have five copies of 1.34.1-1~14.04 and no 18.04?
@elextr not sure why the name says 14.04 but if you use the filter it will list the packages for 18.04/bionic:
https://launchpad.net/~geany-dev/+archive/ubuntu/ppa?field.series_filter=bio...
@laoshaw are you using Wayland? It seems to be causing a fair number of issues. As per #2105 you could try to set the `GDK_BACKEND=x11` environment variable and see if it helps.
I'm not running wayland actually. Anyway I will live with it for now. I just add a few shortcut keys as I rarely need to use those menus.
``` echo $XDG_SESSION_TYPE x11 echo $DESKTOP_SESSION ubuntu cat /etc/X11/default-display-manager /usr/sbin/gdm3 ```
github-comments@lists.geany.org