Pinta icon indicating copy to clipboard operation
Pinta copied to clipboard

Pinta crashes on Ubuntu 24.04 LTS on attempt to maximize/restore its window

Open IvanPizhenko opened this issue 5 months ago • 4 comments

Description Install app as Snap or via Flatpak - both have same issue.

To Reproduce Start application, then attempt to maximize/restore size of application window few times, paint some random strokes with brush. Application eventually crashes (very fast, just a few attempts needed).

Additional Info Just an observation: Version installed from standard Ubuntu repos (idk exact version number) on the older Ubuntu 22.04 LTS worked good and stable, and I always used Pinta but... on Ubuntu 24.04 LTS now I had to switch to KolourPaint, because it just works, and Pinta doesn't work anymore...

Version Ubuntu 24.04 LTS + KDE desktop Pinta 3.0.1

IvanPizhenko avatar Jul 06 '25 15:07 IvanPizhenko

It would be great if you could provide terminal output from running

snap run pinta

Its likely you were still using the snap from Pinta 2 releases, which you can go back to with

sudo snap remove pinta --purge
sudo snap install pinta --channel=gtk3/stable

It likely won't get major new features but should get a load of improvements in format handling in the near future and continues to have security support provided by upstream for years. Hopefully by then the latest release could have this sorted for you if you prefer it.

JGCarroll avatar Jul 06 '25 21:07 JGCarroll

I have uninstalled snap and have now version from flatpack. It has been updated to 3.0.2. Issue persists.

Command line output

$ flatpak run com.github.PintaProject.Pinta
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Activate DRI3 at Xorg or build mesa with DRI2
libEGL warning: DRI3 error: Could not get DRI3 device
libEGL warning: Activate DRI3 at Xorg or build mesa with DRI2

(pinta:2): Gtk-WARNING **: 07:35:41.722: GtkBox 0x56d925b10260 (box) reported min width 505 and natural width 483 in measure() with for_size=704; natural size must be >= min size

(pinta:2): Gtk-WARNING **: 07:35:41.760: GtkBox 0x56d925b10260 (box) reported min width 505 and natural width 483 in measure() with for_size=704; natural size must be >= min size

(pinta:2): Gtk-WARNING **: 07:35:42.251: GtkBox 0x56d925b10260 (box) reported min width 505 and natural width 483 in measure() with for_size=704; natural size must be >= min size

IvanPizhenko avatar Jul 08 '25 04:07 IvanPizhenko

Thanks, is there any additional output at the end when Pinta eventually crashes?

From the initial libEGL warnings I wonder if there's a graphics driver issue .. You could try setting the GSK_RENDERER environment variable to opengl or cairo to see if that changes anything (https://docs.gtk.org/gtk4/running.html#gsk_renderer)

cameronwhite avatar Jul 08 '25 21:07 cameronwhite

There's no additional output on crash. It is VirtualBox VM with 128K video memory and VMSVGA video driver, 3D acceleration disabled.

IvanPizhenko avatar Jul 10 '25 11:07 IvanPizhenko