OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
853 stars 310 forks source link

[Bug] Gtk-CRITICAL when adding a layer from the data catalog #1483

Open HuidaeCho opened 3 years ago

HuidaeCho commented 3 years ago

Describe the bug When clicking a layer from the data catalog to display it, sometimes, not always (it can be hard to troubleshoot), I get this error in the terminal:

(wxgui.py:3309): Gtk-CRITICAL **: gtk_widget_set_allocation: assertion '_gtk_widget_get_visible (widget) || _gtk_widget_is_toplevel (widget)' failed

But the layer is still displayed.

To Reproduce

  1. Go to Data Catalog
  2. Click on any layer
  3. Check the terminal

Expected behavior No warnings in the terminal

Screenshots See above.

System description (please complete the following information):

Additional context Add any other context about the problem here.

petrasovaa commented 3 years ago

These are typically harmless and at the same time very difficult to fix. Does this show up if you add a layer in a different way? If you can't even reproduce this reliably, I am inclined to close this as wontfix.

HuidaeCho commented 3 years ago

I'll try to reproduce it and find a pattern. Yes, it seems harmless and if I cannot find a reliable way to reproduce it, I'll close it.

veroandreo commented 3 years ago

Can this old trac ticket be related: https://trac.osgeo.org/grass/ticket/3242?

I also get a lot of Gtk-CRITICAL warnings in the terminal, mostly when I do queries the GUI, but they are different:

(wxgui.py:58692): Gtk-CRITICAL **: 15:30:48.382: gtk_widget_set_size_request: assertion 'height >= -1' failed