Handles in the "Handle Transform" tool snap incorrectly
Environment/Versions
- GIMP version:
- Package: GIMP 2.10.33 (from source)
- Operating System: All (tested on Fedora Linux)
Description of the bug
Handles on the "Handle Transform" tool snap to guides, the grid, etc. incorrectly. Instead of the center of the handle snapping to the guide, the handle snaps based on where it was "picked up" by the cursor. For example, if you pick the handle up near the bottom right corner, then that spot on the bottom right corner will snap to the guide:
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Create a guide or enable the grid
- Switch to the "Handle Transform" tool and click to create at least one handle
- Drag any existing handle(s) towards the guide or grid, and notice how when snapped, the handles are off-center
…
Expected result: The handles' centers should snap to the guides or grid
Actual result: The handles snap to the guides or grid based on where they were picked up, rather than from their centers