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

            Bug ID: 391511
           Summary: Canvas is not updated when Node::setVisible() is
                    called from python script
           Product: krita
           Version: 4.0 pre-alpha
          Platform: Other
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: krita-bugs-n...@kde.org
          Reporter: aurelien.daca...@gmail.com
  Target Milestone: ---

Created attachment 111241
  --> https://bugs.kde.org/attachment.cgi?id=111241&action=edit
This image shows the inconsitency between the canvas & the layers docker

When layers are hidden from the "Scripter" extension the canvas is not updated.
However, the "Layer" docker is updated.

Note: This happens on krita-nightly-x64-v4.0.0.51-594-gba8550543c


Here is a simple sample code to reproduce this issue:
---
from krita import *

doc =  Krita.instance().activeDocument()
if doc is not None:
    for node in doc.topLevelNodes():
        node.setVisible(False)
else:
    print("No active document.")
---

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

Reply via email to