Pinta icon indicating copy to clipboard operation
Pinta copied to clipboard

GTK layout-related warnings

Open cameronwhite opened this issue 8 months ago • 1 comments

Recently Pinta started generating a ton of GTK warnings about layout-related. This appeared pretty recently and is probably due to a recent GTK update, since there haven't been any major UI-related changes of late. We should figure out how to fix these so that other warnings / error messages aren't lost in the flood

(pinta:26137): Gtk-WARNING **: 19:20:22.391: GtkBox 0x7ff50b522e70 (box) reported min width 509 and natural width 481 in measure() with for_size=879; natural size must be >= min size

(pinta:26137): Gtk-WARNING **: 19:20:22.391: GtkBox 0x7ff50b522e70 (box) reported min width 509 and natural width 481 in measure() with for_size=526; natural size must be >= min size

(pinta:26137): Gtk-WARNING **: 19:20:22.391: Trying to measure GtkFlowBox 0x7ff50b70f1c0 for width of 40, but it needs at least 160

(pinta:26137): Gtk-WARNING **: 19:20:28.342: GtkBox 0x7ff50b522e70 (box) reported min width 509 and natural width 488 in measure() with for_size=879; natural size must be >= min size

(pinta:26137): Gtk-WARNING **: 19:20:28.342: GtkBox 0x7ff50b522e70 (box) reported min width 509 and natural width 488 in measure() with for_size=526; natural size must be >= min size

cameronwhite avatar Apr 14 '25 23:04 cameronwhite

There were a number of correctness and performance changes in gtk layout handling made by Sergey Bugaev and it probably exposed some bugs in Pinta.

UrtsiSantsi avatar Apr 15 '25 15:04 UrtsiSantsi