https://bugs.kde.org/show_bug.cgi?id=525130
Bug ID: 525130
Summary: Allow to manage scale factor in transform tool with
decimal values
Classification: Applications
Product: krita
Version First unspecified
Reported In:
Platform: unspecified
OS: All
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: Tools/Transform
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
Using transform tool (directly or through transform mask), the scale factor for
Width & Height is an integer
This implies that it's not possible to set value like 100.5% for example
Looking at the .kra file, we can see that, if transform is made with pen/mouse,
scale factor is stored with decimal values
The request here is to be able to set scale factor with decimal values from UI
For that, it need in file `plugins/tools/tool_transform2/wdg_tool_transform.ui`
to (at least) use KisDoubleParseSpinBox instead of current KisIntParseSpinBox
(+additional impact analysis in code...) like it's made for the 'Shear'
properties
According to a discussion (https://mastodon.art/@eishiya/117201510148215215)
looks like having 4 to 5 decimals is a real requirement for user(s)
This also let think that for shear, the number of decimals should be increased
to the same number of decimals (4 to 5) to be consistent (and also because in
some really specific cases, users need the highest precision)
STEPS TO REPRODUCE
1. Add a transform mask to a pain layer
2. Edit it with transform tool (Scale)
OBSERVED RESULT
Can't set decimals for scale value
EXPECTED RESULT
Being able to set decimals for scale value
SOFTWARE/OS VERSIONS
N/A
ADDITIONAL INFORMATION
XML file layers/maskX.trasnformconfig store value with decimals; setting it
manually, open Krita, do not use transform tool, save document -> defined value
with decimals are kept, so Krita is able (internally) to manage it; the values
are rounded from the moment the KisIntParseSpinBox is activated for scale
Need to check with animation, as in animation curve the factor 152% (for
example) is set as 1.52; this means that if number of decimals in transform
tool is increased, decimals for 'animation curve value' must be increased to
--
You are receiving this mail because:
You are watching all bug changes.