Summary: | Line width changes when resizing multiple vector shapes at once | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | acc4commissions |
Component: | Tools/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | minor | CC: | ahab.greybeard, drive.programming0, ghevan |
Priority: | NOR | ||
Version First Reported In: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
acc4commissions
2019-11-21 03:30:20 UTC
'Scale Styles' in tool option is not checked in this case. 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. *** Bug 464651 has been marked as a duplicate of this bug. *** 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. ------------------------------- |