Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GdlSwitcher
Replicate
- Install Inkscape v1.0 (4035a4fb49, 2020-05-01) on Arch Linux running XFCE
- Open a terminal (e.g., xfce4-terminal)
- Start Inkscape from the command line by typing: inkscape
- Ensure Inkscape has focus (e.g., click anywhere on its window)
- Press
Alt+Tabto cycle back to the terminal window
Expected
Inkscape quietly loses focus
Actual
Inkscape noisily writes numerous "CRITICAL" errors to standard error; see attached inkscape.log.
Additional Details
These errors cause a noticeable lag when switching away from Inkscape (because writing to standard output and/or standard error is a slow operation). Moreover, it looks to be a programming error with respect to GTK.
Could lead to unexpected behaviour, such as crashes, which we see in other reported issues?
Version
$ inkscape --version
Inkscape 1.0 (4035a4fb49, 2020-05-01)
Pango version: 1.44.7
Edited by Dave Jarvis