Bug 395480 - Resizing two or more objects at once scales the stroke, but tool option is not updated and then changing stroke is incorrect
Summary: Resizing two or more objects at once scales the stroke, but tool option is no...
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Layers/Vector (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-16 09:15 UTC by Raghavendra kamath
Modified: 2018-06-18 12:22 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 Raghavendra kamath 2018-06-16 09:15:25 UTC
If A user resizes two or more vector objects through shape selection tool. The stroke is scaled as well,

The problem arises when resizing the stroke width via tool width is incorrect. The tool option doesn't update at first, and then inserting any number gives wrong stroke (as if it is being resized and then applied).

To reproduce

1) Open Krita and insert a new vector layer
2) Draw two shapes in it, then with shape selection tool select both and then scale them down
3) You'll notice that the stroke is resized but the tool option shows same number in stroke tab.
4) If you try to insert a number there, the stroke width is resized however, it is not the correct width.

The stroke should be resized not relative to the scale size and ideally there should be an option (in future may be ) to enable stroke and pattern resize on scaling objects.
Comment 1 Dmitry Kazakov 2018-06-18 12:17:59 UTC
Hi, Raghavendra!

That is expected behavior. When you select multiple shapes, "Scale Styles" automatically activates. It happens because with multiple selection the shapes are *not* resized, instead an external transform is applied.

We might make a separate wish request to allow "resizing" with multiple selection, but there are a lot of tricky questions about how to resize shapes that cannot be resized in the desired direction (e.g. how to horizontally resize a rotated rectangle?)
Comment 2 Raghavendra kamath 2018-06-18 12:22:33 UTC
Hi Dmitry,

It is okay if we have scale style by default, the problem here is once you scale the objects the tool option docker width of stroke becomes irrelevant. it should show correct (scaled) width of stroke and one should be able to change it.