I can reproduce it under Wayland using latest gtk3 branch from git. I'm on Arch Linux, I'm the maintainer of the pinta-gtk3-git package on the AUR in case anyone wants to try it.
I took a look at the source code, I'm not a developer by any means but... just an idea. Maybe Pinta can't get the screen size under Wayland, the variables holding those values remain at 0 and thus the division by zero occurs?
I can reproduce it under Wayland using latest gtk3 branch from git. I'm on Arch Linux, I'm the maintainer of the pinta-gtk3-git package on the AUR in case anyone wants to try it.
I took a look at the source code, I'm not a developer by any means but... just an idea. Maybe Pinta can't get the screen size under Wayland, the variables holding those values remain at 0 and thus the division by zero occurs?