Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Select Tool] Pixel under cursor is not always included in selection. #2159

@Bluperman949

Description

@Bluperman949

Description
Pixel coordinates are rounded when selecting a region. Hovering over a pixel while dragging does not guarantee its inclusion in the selected region. Users must carefully select the corners between pixels if they want pixel-precision.

To Reproduce

  1. Open any image.
  2. Equip the Rectangle Select tool (any selection works, but it's easily visible with Rectangle Select).
  3. Zoom in until individual pixels are discernible.
  4. Click and drag to select an area. While dragging, move the cursor around the inside of any pixel. The selection's corner will snap to the nearest pixel edge.

Additional Info

The cursor is present in the bottom-right pixel, but the region's border is being rounded to the left.

The cursor is in almost the same position, hovering over the same pixel, but the resulting region is different. This is unwieldy.

Version
Pinta 3.1, Platform irrelevant.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions