GraphiteEditor / GraphiteEditor/Graphite

Local-axis grab (G key) dashed line should show only the X or Y component, tilted

Open
#3,341 0 comments 0 reactions 0 assignees View on GitHub
Good First Issue
Dominant language
Rust
Stars
27.2k
Forks
1.3k
Avg merge
20h 5m
Merged PRs (30d)
57

Description

G lets you enable grab and then hit X or Y once for a global axis (document space) and a second time for a local axis (layer space), but the dashed line visualization is drawn incorrectly in the latter case:

https://github.com/user-attachments/assets/1e049146-e215-4abb-9f81-27f62e398836

When transforming in local space, it should tilt the dashed line with the local space as well, and draw just the X or Y component instead of both.

See [this comment](https://github.com/GraphiteEditor/Graphite/pull/3527#issuecomment-3910935758) for a little more detail.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the G, then X or Y, then X or Y sequence in the editor and compare global-axis and local-axis behavior. Trace the grab and dashed-line visualization entry points, using the linked pull-request comment for context; done means the local line is tilted with the layer space and shows only the selected X or Y component.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.