NaturalIntelligence / NaturalIntelligence/imglab

Issue while creating polygon and moving scrollbars

Open
#174 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1k
Forks
613
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When we are drawing a polygon on an image and we are zoomed in on the image. While drawing we want to use the scrollbars to continue drawing a part of the image that is not visible in the screen. When moving the scrollbars, the crossfire (mouse cursor) doesn't align anymore with the actual point of the polygon.

To Reproduce
Steps to reproduce the behavior:

  1. Import an image
  2. Open the image by clicking on it on the bar at the bottom
  3. Zoom in so a part of the image is outside the view
  4. Click on Polygon
  5. Start creating points
  6. Move the horizontal or vertical scrollbar
  7. Try to create an extra polygon point, and see it does not align with the actual point and the mouse cursor.

Screenshots
image

Console Errors
None

Device detail:

  • OS: Windows 10 Pro 1809
  • Browser: Chrome 78.0.3904.87 (x64)

Additional context
None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by importing an image, zooming in, selecting Polygon, creating points, and moving a scrollbar. Inspect the polygon drawing and scrollbar interaction; done means newly placed points remain aligned with the cursor after horizontal or vertical scrolling.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.