Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: can't select in the middle of a very short line #4472

Open
ShibuyaCyana opened this issue Apr 18, 2024 · 3 comments
Open

bug: can't select in the middle of a very short line #4472

ShibuyaCyana opened this issue Apr 18, 2024 · 3 comments
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io

Comments

@ShibuyaCyana
Copy link

Steps To Reproduce

  1. add a very short line (vertical or horizontal path), length <= 4px
  2. try to select it at middle, it fails, and there's no "under mouse indicator" (a green line).
  3. move mouse to the outer region of two endpoints. Though it's far away from the path (considering how small it is), green line appears and it's possible to select it from there.

Expected behavior

  1. green line appears when mouse is near or inside the line, and the line can be selected.
  2. green line doesn't appear when mouse is near the endpoints but not inside the line.

Actual behavior

As the steps above.

Screenshots or video

record2.mp4

Desktop (please complete the following information)

  • Windows 11 22H2
  • Firefox 124.0.2 (64-bit)

Smartphone (please complete the following information)

No response

Environment (please complete the following information)

No response

Frontend Stack Trace

No response

Backend Stack Trace

No response

Additional context

in Figma there is also a margin area for easier selection of smaller things, but the margin width is almost constant with screen pixel, ensuring it doesn't get too large when closely zoomed.

@madalenapmelo-kp
Copy link
Contributor

Hi @ShibuyaCyana,

I haven't been able to reproduce this behavior, could you send the .penpot file where you are experiencing this to [email protected]?

@madalenapmelo-kp madalenapmelo-kp added managed on taiga This issue has been moved to our project at Taiga.io needs info and removed managed on taiga This issue has been moved to our project at Taiga.io labels Apr 22, 2024
@ShibuyaCyana
Copy link
Author

Thanks for the response, I didn't keep the page but it's just an empty file with 2 short lines. I'll make a new one and put it here.
two short lines.zip

@madalenapmelo-kp madalenapmelo-kp added managed on taiga This issue has been moved to our project at Taiga.io and removed needs info labels Apr 24, 2024
@madalenapmelo-kp
Copy link
Contributor

Thank you @ShibuyaCyana! I've added this issue to our backlog on Taiga, you can find the details here: https://tree.taiga.io/project/penpot/issue/7600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug managed on taiga This issue has been moved to our project at Taiga.io
Projects
None yet
Development

No branches or pull requests

2 participants