PintaProject / Pinta

Simple GTK# Paint Program
http://www.pinta-project.com/
MIT License
1.74k stars 267 forks source link

Crash on wayland #809

Closed wctrl closed 1 month ago

wctrl commented 1 month ago

Description After about 1 minute app crashes on wayland

To Reproduce This was on hyprland, but it should be applicable for any wayland compositor

  1. Run app
  2. Do something for ~1 minute
  3. Crash

Additional Info stdout log:

(pinta:22773): GdkPixbuf-CRITICAL **: 23:18:47.414: gdk_pixbuf_calculate_rowstride: assertion 'width > 0' failed
// ^ it's ok
(pinta:22773): GdkPixbuf-CRITICAL **: 23:18:47.414: gdk_pixbuf_calculate_rowstride: assertion 'width > 0' failed
// ^ it's ok

Gdk-Message: 23:19:12.631: Error 22 (Invalid argument) dispatching to Wayland display.

Version Arch linux, pinta version - 2.1.2

cameronwhite commented 1 month ago

Thanks for the report!

Would you be able to try out the master branch to see if it has the same issue? The master branch is ported to GTK4 (Pinta 2.1 is GTK3) so there's a good chance that might fix Wayland issues in GTK

wctrl commented 1 month ago

Yep master is fine, closing this