Bug 414352 - Line width changes when resizing multiple vector shapes at once
Summary: Line width changes when resizing multiple vector shapes at once
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Vector (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 464651 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-21 03:30 UTC by acc4commissions
Modified: 2023-02-14 16:37 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description acc4commissions 2019-11-21 03:30:20 UTC
SUMMARY
git f41bc3f
Line width changes when resizing multiple vector shapes at once. 
And the thickness number in tool option doesn't change despite the visible width changes on the canvas. 

If you unite/split/etc any of those shapes after resizing, the line width returns back to the original width.

I'm sorry if that's intentional.


SOFTWARE/OS VERSIONS
Windows: Win7
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 acc4commissions 2019-11-21 03:31:28 UTC
'Scale Styles' in tool option is not checked in this case.
Comment 2 Ahab Greybeard 2019-11-21 15:55:09 UTC
I can confirm this for 4.2.7.1 appimages onwards.

Depending how you resize them, you can have a vector rectangle with different stroke widths for the horizontal and vertical strokes. This is preserved through a Save and re-Open.
If you try to resize the stroke width, they seem to maintain the same proportional difference between horizontal and vertical strokes.
A logical operation on two such shapes will restore stroke widths to be the same.
Comment 3 vanyossi 2023-02-14 16:33:48 UTC
*** Bug 464651 has been marked as a duplicate of this bug. ***
Comment 4 vanyossi 2023-02-14 16:37:04 UTC
It looks this bug is intentional from the log of commit b128126189b5b8f86902ec23311a9efb14f5c230

quoting the entire log text:
------------------------------------------
commit b128126189b5b8f86902ec23311a9efb14f5c230
Author: Dmitry Kazakov <dimula73@gmail.com>, Fri Dec 30 12:51:37 2016 +0300 (6 years ago)
Committer: Dmitry Kazakov <dimula73@gmail.com>, Fri Dec 30 12:51:37 2016 +0300 (6 years ago)

Uniform Scaling mode means that your shape is not just "resized", but
"transformed" using a uniform transformation.

When you "resize" (uniform scaling disabled) a shape, you basically
change its local width and height (even when the shape is rotated
using some embedded transformation). Resizing can never shear or deform
your shape, that is a resized rectangle will always stay rectangular.

When you "uniform scale" a shape, you don't "resize" it, you apply a
transformation to it. That is all the small elements of the shape like
stroke, pattern and gradient will also become scaled. And if you apply
a uniform scale transform in global mode to a rotated shape, then
the shape will be scaled uniformly, and rectangle will become sheared.

NOTE1: Non-uniform scaling mode is available only when
       *one* shape is selected. "Resizing" multiple shapes
       in a non-uniform way is just not possible. Therefore the
       checkbox becomes automatically disabled when you select
       multiple shapes.

NOTE2: Groups do not support non-uniform "resizing" (see NOTE1).
       Technically, resizing of a group is just applying a common
       transformation on the top of the child shapes. Therefore, all
       the properties of the uniform scaling apply to this process.
-------------------------------