GraphiteEditor / GraphiteEditor/Graphite

Stroke weight inconsistency between Shape tools and pen/pencil/spline tool

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

Description

1) When we draw something using a shape tool(shape/ellipse/rectangle/etc) and when we draw something using the pen/pencil/spline tool, in both cases the default stroke weight is 2 px (visible in the Properties panel). However, as clearly shown in the video, the stroke weight appears different.
2) The stroke weight change behaviour during transformation that was resolved by the PR (https://github.com/GraphiteEditor/Graphite/pull/3854
)? That fix only resolved the issue when the figure is drawn using a shape tool(shape/ellipse/rectangle/etc). When the shape is drawn using the pen/spline/pencil tool, the bug still persists, as visible in the above clip.

Both the above mentioned bugs will be more or less because of the same issue.

Reproduction clip:

https://github.com/user-attachments/assets/ec04cd1a-fae8-4c28-b3c7-1c9ddf3715da

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the discrepancy using the linked clip, comparing shape-tool output with pen, pencil, and spline output at the same 2 px stroke weight. Review the changes in PR #3854 and trace the transformation behavior for the pen, pencil, and spline tools. Done means consistent visible stroke weight and consistent stroke scaling during transformation across these tools.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.