https://bugs.kde.org/show_bug.cgi?id=522762

            Bug ID: 522762
           Summary: Liquify transform does not save its brush size
                    (includes 1 line fix)
    Classification: Applications
           Product: krita
      Version First git master (please specify the git hash!)
       Reported In:
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Transform
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Liquify tool rarely if ever remembers its brush size.

Git hash of when I tested this: 4e44f0958ebe5b8cfcfb484f8bf9dcc4568aa44e


STEPS TO REPRODUCE
1. Use some shortcut to switch between freehand brush tool, and liquify (in the
settings the keybind for it is called "Transform tool (liquify transform)")
2. hold shift or whatever your binding is to hold-resize the brush size when
the liquify tool is active
3. make a brushstroke so the tool actually gets used
4. switch back to freehand brush
5. make brushstroke
6. switch back to liquify;  now it has its old / initial size again! 

OBSERVED RESULT
After resizing, going to a different tool, and then coming back, the liquify
tool forgot the brush size change that was applied to it. 


EXPECTED RESULT
When I go back to liquify, it should have the same brush size as when I last
left it.

FIX:
This annoyed me to no end so I looked at the code and found where it is wrong
and patched it locally.
The following fixes it:

```
krita/plugins/tools/tool_transform2/kis_liquify_transform_strategy.cpp (+1)
290      props->setSize(newSize);
291 +    m_d->currentArgs.saveLiquifyTransformMode();
292      KisToolUtils::showBrushSizeFloatingMessage(canvas, newSize);

```


SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): fedora
KDE Plasma Version:  6.7
KDE Frameworks Version: 6.27 
Qt Version: 6.11

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to