Selection mode changes after pixel movement
Environment/Versions
- GIMP version: 2.10.32 / 2.99.14
- Package: Installer from gimp.org
- Operating System: Windows 10
Description of the bug
Selection tools can have their mode temporarily modified using the keys 'ctrl', 'shift', and 'alt'. Usually the selection mode will go back to the previous mode after releasing these keys but in certain situations it will fail to do so.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Use any selection mode except 'subtract'
- Select an area of the canvas using any selection tool (rectangle, free, fuzzy...)
- Hold alt + shift and drag to copy pixels to floating layer
- While still moving the pixels, release alt + shift and hold ctrl to snap movement to angle
- Release the selection
Expected result: The selection mode returns to the same mode before moving the pixels
Actual result: The selection mode is changed to 'subtract'
Additional information
This bug may reach further than just these specific actions as I often experience this bug without the use of alt + shift move. This is the only way I have found to consistently replicate it.