Nudging sometimes moves either zero or two pixels
Submitted by Alexander Thomas
Link to original bug (#635186)
Description
When nudging selection boundaries with the arrow keys, e.g. after having drawn a rectangular selection, sometimes the selection boundary can only be moved in increments of two pixels. This only seems to happen at zoom levels that are powers of two (200%, 400%, 800% etc).
Steps to reproduce:
- Open any image
- Zoom in to 200%
- Make any rectangular selection
- Either try to nudge the position of the entire selection or one of its edges/corners with the arrow keys
- Repeat steps 3 and 4 several times.
Expected results: The selection or its edge always moves with an increment of one pixel.
Actual results: Sometimes the selection or its edge will alternate between not moving at all and moving two pixels when pressing the same arrow key in succession.
This seems related to bug 620355 in some way. It has been present in many previous versions of GIMP and now it has annoyed me enough since then to file this bug report. A workaround is to zoom in to e.g. 201%.
Version: 2.6.11