https://bugs.kde.org/show_bug.cgi?id=413088
Bug ID: 413088 Summary: Changing visibility on multiple layers + calling refreshProjection() is a very slow operation. Product: krita Version: 4.2.7-beta1 Platform: Appimage OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Scripting Assignee: krita-bugs-n...@kde.org Reporter: dev.lar...@gmail.com Target Milestone: --- SUMMARY Changing visibility on multiple layers + calling refreshProjection() in a script is a very slow operation. The more layers that are changed the more time the operation takes. It comes to a point where Krita can hang for several seconds. This might/probably also affect other "visual" operations in the API. STEPS TO REPRODUCE 1. Run a script that changes visibility on e.g. 6 layers in a 3000x3000 document 2. Watch the UI hang 3. Layer states are updated OBSERVED RESULT CPU is sweating EXPECTED RESULT CPU not sweating SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 18.04 KDE Plasma Version: 5.12.9 KDE Frameworks Version: 5.47.0 Qt Version: 5.9.5 -- You are receiving this mail because: You are watching all bug changes.