User settings custom avatar crop tool issues
There are a few usability issues with the custom user avatar crop tool:
- Dragging an edge/corner of the crop area all the way outwards doesn't actually move the crop edge/corner all the way to the image corner, unless it is dragged very slowly. Instead, it seems it ends up at the last polled cursor position prior to the cursor leaving the image area, so the faster the cursor is moved, the more inwards the crop position is likely to end up.
- Grabbing an edge/corner repositions the crop edge/corner to exactly under the cursor immediately, causing it to "jump". This is in contrast to e.g. Mutter window resizing, where the offset of the cursor in the resize grab region remains constant when resizing (e.g. if the cursor 3 px left of the edge on grabbing, it remains 3 px left of that edge during resize).
- The outer black border of the crop box makes it look like it's never all the way to the edge/corner, since it seems like a pixel-width region of the underlying image outside of the main white crop box.