Created attachment 180405 [details] Infos in Submit Bug Report SUMMARY In certain use cases the scale set width or height to -10000 %, which cause scale layers to 100x. And use lots of resource, then OOM. STEPS TO REPRODUCE 1. Create a image. 2. Draw some things on it. 3. Make some copy of that layer. 4. Select these layers. 5. Use Transform tools. 6. Select Scale in tool options. 7. Unlink the width and height. 8. Clear, Delete or Enter 0 in to both of Width or Height. 9. Link the width and height. 10. Gain values using Up arrow, Scroll Up, the other value will change to -10000 %. 11. After that, it will use lots of RAM and CPU, but finally cause out of memory. OBSERVED RESULT Krita uses 100% CPUs and tons of RAM, finally out of memory. EXPECTED RESULT The width or height should keep 0 but -10000. SOFTWARE/OS VERSIONS Windows: 11 24H2 26100.3775 macOS: N/A (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: N/A KDE Plasma Version: N/A KDE Frameworks Version: N/A Qt Version: Version (compiled): 5.15.7 Version (loaded): 5.15.7 ADDITIONAL INFORMATION more in krita_info.txt
Hello Felix, thank you for your report and your detailed description. I tried to reproduce it following your exact steps, but I could not reproduce the increase in CPU and RAM usage. I tested on 5.2.9 and 5.2.5 on Windows 10. I can confirm the incorrect setting of the scaling dimensions to -10000 though, so these might be two seperate issues, but its too early to tell. Your system information shows that you are using Windows 10 rather than 11, which you put into your description. Can you check this again and confirm which is correct? Can you please add more detailed steps to your discription, if there is anything I might have missed, like which exact tool you used to draw in step 2, or enabling a specific setting or something like that. If you can, record a video of it happening, as I could not even observe my layers being transformed while setting scale to -10000.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.