Skip to content

Boxes With One or More Edges on Boundaries Cannot be Selected #204

Open
@cswelch

Description

@cswelch

Expected behavior

After creating a selection box, one should be able to click anywhere inside it in order to select it.

Current behavior

Creating a tag box with one or more edges on the boundary pixels of the image makes it unselectable.

Steps to Reproduce

  1. Click near one of the edges of the image.
  2. Drag the other corner of the box all the way to the boundary of the closest edge and/or corner, then let go. The outermost pixels of the image should be highlighted.
  3. Attempt to select the newly created box by clicking inside it. You should only be able to select a tiny box that is only a few pixels wide and not the actual box you selected.
    ...

Context (Environment)

Where does the issue occur?

If it is a self hosted instance, please provide further information

  • Operating System:
  • Python version:
  • UWSGI version:
  • ImageTagger commit or version:
  • Further setup information or configuration files

Possible Solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions