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

            Bug ID: 439131
           Summary: Detached brush editor does not respect brush changes
                    done via the Python API
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: alanscode...@gmail.com
  Target Milestone: ---

SUMMARY
I found this because I have a plugin that sets the brush size, but was able to
reproduce with the Scripter plugin.

STEPS TO REPRODUCE
1. Open Scripter plugin, paste:

win = Krita.instance().activeWindow()
view = win.activeView()
view.setBrushSize(5)

2. Open brush editor (in detached mode).
3. Run script.

OBSERVED RESULT
Note that the brush size changes in the toolbar but not the brush editor.

Changing anything in the brush editor causes the size to reset to what the
brush editor thinks it is.

This also happens with opacity (setPaintingOpacity) and I'm guessing anything
else that can be set via the API.

EXPECTED RESULT
Changes are "applied" everywhere.

SOFTWARE/OS VERSIONS
Windows 10
Krita Nightly 4407898

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

Reply via email to