Copying a 1 pixel wide rectangle crashes
Environment/Versions
- GIMP version: GIMP 2.10.36 (revision 1)
- Package: downloaded from gimp.org directly (gimp-2.10.36-setup-1.exe)
- Operating System: Windows 11 Home 23H2 (auto updated)
If I select a vertical rectangle one pixel thick and copy with Ctrl+C Gimp crashes. Description of the bug
Reproduction
Is the bug reproducible? Always
Always reproducable
Reproduction steps:
- Create a new image
- Select Rectangle selection and drag a rectangle from above the middle of the image to below it.
- Use the right adjuster to drag the rectangle to be 1 pixel wide
- Press Ctrl+C
…
Expected result: The single pixel area should be copied
Actual result: Gimp crashes
Additional information
If you have a backtrace for a crash or a warning, paste it here.