GraphiteEditor/Graphite

Pen tool preview line disappearing during repeated undo

Open

#3790 opened on Feb 20, 2026

View on GitHub
 (0 comments) (0 reactions) (1 assignee)Rust (25,662 stars) (1,176 forks)batch import
Good First Issue

Description

When using the Pen tool to draw a path and pressing Ctrl+Z multiple times, the preview line (showing the segment from the last anchor to the cursor) would disappear after a certain number of undos.

Current behaviour:

https://github.com/user-attachments/assets/bac854dd-4e7e-438d-ae3f-c6fbd0133275

Expected behaviour:

https://github.com/user-attachments/assets/b0892632-a3ac-43be-ae33-d84d5ebcdf48

Contributor guide