https://bugs.kde.org/show_bug.cgi?id=528974
Bug ID: 528974
Summary: Macro involving changing canvas properties and
refreshing canvas causes memory leak
Classification: Applications
Product: krita
Version First 5.3.4
Reported In:
Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: Scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
I use a macro I made that changes layers' visibility and alpha using a script
that checks their colour, name and not name. I noticed that using it causes the
file to not destroy itself when closed.
STEPS TO REPRODUCE
1. Open a large file
2. In Scripter, run node properties such as setOpacity() followed by
application.activeDocument().refreshProjection() (Not sure if this is the issue
but refreshing itself seems to not cause the issue)
3. Close the document
4. Open the document again
OBSERVED RESULT
The application does not garbage collect and just opens a whole new chunk on
top of the old one. Doing this again causes another chunk to appear next to the
other one until the CPU fills up. Restarting the application seems to fix it.
EXPECTED RESULT
The chunk should only appear once every time the file opens and disappear when
it closes.
SOFTWARE/OS VERSIONS
Operating System: Windows 10
KDE Plasma Version:
KDE Frameworks Version:
Qt Version: 5
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.