GraphiteEditor / GraphiteEditor/Graphite

Box/lasso selection should be compatible with PTZ

Ouverte
#2,391 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Good First Issue Paper Cut
Langage dominant
Rust
Étoiles
27.2k
Forks
1.3k
Merge moyen
20 h 5 min
PR mergées (30 j)
57

Description

Box selection with the Select tool and Path tool doesn't follow the canvas when panning (via the mouse vertical/horizontal scroll wheel) or zooming (with Ctrl + or Ctrl -). The starting point of the rectangle should be locked down to the canvas location, not follow the viewport. This works correctly with the auto-panning feature (dragging the box selection off the edges of the viewport), so that code can be referenced. The actual box selection must still be rounded to viewport coordinates so the box selection is drawn cleanly (without fuzzy antialiasing). The video below shows the incorrect present behavior.

https://github.com/user-attachments/assets/6687128d-0123-4feb-bd10-88c36440971d

Discussion in this Discord thread: https://discord.com/channels/731730685944922173/1321358747133677599

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start with the Select tool and Path tool box-selection behavior, then reproduce the issue while panning with the mouse scroll wheel and zooming with Ctrl + or Ctrl -. Use the existing auto-panning behavior as the reference. Done means the rectangle's starting point remains locked to its canvas location while the selection stays rounded to viewport coordinates for clean rendering.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust
Domaine
computer-graphics, frontend
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.