| Summary: | A .kra file with an enormous vector selection will seem to hang on loading | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | rebuilderster |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | 5.0.0-beta1 | ||
| Target Milestone: | --- | ||
| Platform: | Mint (Ubuntu based) | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Example .KRA file created following the steps described, will cause Krita to hang when opened. | ||
|
Description
rebuilderster
2021-09-09 07:12:15 UTC
Created attachment 141415 [details]
Example .KRA file created following the steps described, will cause Krita to hang when opened.
With your file, I can reproduce the hang, but I cannot create such a file myself. Are you using the appimage, or distribution packages? For some reason, the selection mask is enormous: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:krita="http://krita.org/namespaces/svg/krita" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" width="288000pt" height="216000pt" viewBox="0 0 288000 216000"> <defs/> <rect id="shape0" transform="translate(145152, 47520)" fill="none" width="145584" height="95472"/> </svg> Krita doesn't actually hang, it just tries to render that vector shape. Given that the resolution of this image is 1dpi, that will not go well. I'm not sure what we changed in the meantime... But the file now loads instantly! |