Activity log for bug #2047021

Date Who What changed Old value New value Message
2023-12-20 09:42:45 grofaty bug added bug
2023-12-20 09:43:00 grofaty attachment added crash_dialog.png https://bugs.launchpad.net/pinta/+bug/2047021/+attachment/5731049/+files/crash_dialog.png
2023-12-20 09:43:12 grofaty attachment added expand_dialog.png https://bugs.launchpad.net/pinta/+bug/2047021/+attachment/5731050/+files/expand_dialog.png
2023-12-20 09:43:59 grofaty description I downloaded Pinta 2.2 development previous from: https://github.com/PintaProject/Pinta/releases/download/dev-preview-builds/Pinta-2.2-dev1576.exe and installed it on Windows 10. 1. Start Pinta and create new image with small width and height. 2. Copy some image to clipboard (I did it with Windows Paint) and make sure image is bigger then the size of new image from step 2. 3. Paste image in Pinta and expand dialog appears. This is first problem. Buttons are located from top-to-bottom, it is usual to be left-to-right. 4. Clicking on "Expand canvas" button and Pinta crashes with error: System.ArgumentException: '0' cannot be greater than -757. at System.Math.ThrowMinMaxException[T](T min, T max) at Pinta.Actions.PasteAction.Paste(Document doc, Boolean toNewLayer, PointI pastePosition) in D:\a\Pinta\Pinta\Pinta\Actions\Edit\PasteAction.cs:line 133 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at GLib.Internal.MainLoopSynchronizationContext.<>c__DisplayClass1_0.<Post>b__0() at GLib.Internal.MainLoopSynchronizationContext.<>c__DisplayClass3_0.<ScheduleAction>b__0() See attachments. I downloaded Pinta 2.2 development preview from: https://github.com/PintaProject/Pinta/releases/download/dev-preview-builds/Pinta-2.2-dev1576.exe and installed it on Windows 10. 1. Start Pinta and create new image with small width and height. 2. Copy some image to clipboard (I did it with Windows Paint) and make sure image is bigger then the size of new image from step 2. 3. Paste image in Pinta and expand dialog appears. This is first problem. Buttons are located from top-to-bottom, it is usual to be left-to-right. 4. Clicking on "Expand canvas" button and Pinta crashes with error: System.ArgumentException: '0' cannot be greater than -757.    at System.Math.ThrowMinMaxException[T](T min, T max)    at Pinta.Actions.PasteAction.Paste(Document doc, Boolean toNewLayer, PointI pastePosition) in D:\a\Pinta\Pinta\Pinta\Actions\Edit\PasteAction.cs:line 133    at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)    at GLib.Internal.MainLoopSynchronizationContext.<>c__DisplayClass1_0.<Post>b__0()    at GLib.Internal.MainLoopSynchronizationContext.<>c__DisplayClass3_0.<ScheduleAction>b__0() See attachments.
2023-12-20 16:14:26 Cameron White pinta: status New Confirmed
2023-12-20 16:14:26 Cameron White pinta: milestone 2.2
2023-12-20 16:41:34 Cameron White pinta: status Confirmed Fix Committed
2023-12-21 07:05:40 grofaty attachment added buttons_orientation.png https://bugs.launchpad.net/pinta/+bug/2047021/+attachment/5731354/+files/buttons_orientation.png