Bug 503202 - Vector shape thickness issue
Summary: Vector shape thickness issue
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (other bugs)
Version First Reported In: 5.2.9
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-22 23:24 UTC by acc4commissions
Modified: 2025-05-23 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description acc4commissions 2025-04-22 23:24:48 UTC
SUMMARY

Krita version: 5.2.9

STEPS TO REPRODUCE
1. Make a vector shape on a vector layer (let’s say it’s the shape 1)
2. Change the size of the document
3. Make a new vector shape (let’s say it’s the shape 2)

OBSERVED RESULT
The line thickness(numbers) of the shape 1 and the shape 2 are different, even if they look the same on the canvas.

EXPECTED RESULT
The numbers should be the same if they look the same on the canvas.

SOFTWARE/OS VERSIONS
Windows: Win10
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dmitry Kazakov 2025-04-23 12:08:19 UTC
Hi, acc4commissions!

I'm not sure we can actually solve this problem. It is related to the way how we transform shapes. Basically, every shape has two distinct properties: 1) size; 2) transformation. When you scale the image, the shape's transformation is changed, but the shape itself (and its thickness) is kept intact. It means that the thickness values of the scaled shape are "not correct", strictly speaking.

When you add a new shape, its thickness is "correct", i.e. the one you selected in the toolbox.

We have three "solutions" for this problem:

1) Just accept this peculiarity
2) When scaling the image transform individual shapes instead of the entire layer. Then you could call Transform->Reset Transform on the original shape ("shape 1") and it will reset to the original thickness.
3) Change the definition of the GUI (or add an option) to make sure that the thickness means an "unscaled" thickness, i.e. thickness before the transform.
Comment 2 Dmitry Kazakov 2025-04-23 12:10:14 UTC
Mark as needsinfo for now.
Comment 3 Bug Janitor Service 2025-05-08 03:47:11 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-05-23 03:47:23 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.