[Geany-Devel] Geany spews Gtk-CRITICAL messages on cursor movement

Lex Trotman elextr at xxxxx
Sat Dec 25 04:13:19 UTC 2021

On Tue, 21 Dec 2021 at 16:10, Austin Green <austin.green at orcon.net.nz> wrote:
> Recently built (on Xubuntu system) Geany from source.
> Version: geany 1.39 (git >= d031d6f2) (built on 2021-12-14 with GTK 3.24.30, GLib 2.68.4)
> Sometimes it emits hundreds of error messages of this general type:
> (geany:7480): Gtk-CRITICAL **: 15:34:29.314: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
> (geany:7480): Gtk-CRITICAL **: 15:35:50.156: gtk_widget_get_visible: assertion 'GTK_IS_WIDGET (widget)' failed
> (geany:7480): Gtk-CRITICAL **: 15:35:50.156: gtk_window_set_transient_for: assertion 'GTK_IS_WINDOW (window)' failed
> whenever the cursor is moved around over the Geany window (even if it's hidden below another window). It seems to be happening on the first start of Geany after I ssh to the system.  If I start up another instance, it behaves fine.
> Is it possible to build Geany so that it will emit more debug info, so I can have a go at tracking down this problem? Unless, of course, someone knows what the bug is already!   :)

Unknown to date, thanks for trying to find it.

IIUC if you look up GTK docs they will tell you how to set environment
variables to make GTK break when a critical happens, so if you run
under GDB it will stop and you can see where its happening.


> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel

More information about the Devel mailing list