HaikuArchives / ArtPaint

ArtPaint is a painting and image processing program.
https://haikuarchives.github.io/ArtPaint/
29 stars 18 forks source link

Scaling whole layer crashes #476

Closed humdingerb closed 1 year ago

humdingerb commented 1 year ago

-> crash: ArtPaint-1552-debug-20-02-2023-10-27-13.report.txt

Only happens if you enlarge up-wards, i.e. the top grabbers get a negative Y coordinate. Enlarging downwards by dragging one of the bottom grabbers doesn't crash. Neither when enlarging only to the left/right. No crashes when a selection is in play, even if you ALT+A (select all). Funnily, entering "-10" in the "Top" text box of the Scale window doesn't result in a crash when applied.

dsizzle commented 1 year ago

Good find! Not sure how this escaped before...

Funnily, entering "-10" in the "Top" text box of the Scale window doesn't result in a crash when applied.

If you only enter -10 in the "Top" box then it's just a translation. If you move the bottom down as well, it crashes.