[kde] [Bug 498059] New: .kra file no longer openable after saving, but openable again after manually deleting a huge layerstyles.asl in the .kra file

Dirty Chicken bugzilla_noreply at kde.org
Mon Dec 30 13:52:23 GMT 2024


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

            Bug ID: 498059
           Summary: .kra file no longer openable after saving, but
                    openable again after manually deleting a huge
                    layerstyles.asl in the .kra file
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: realdirtychicken at gmail.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Large resolution .kra file with lots of layer styles sometimes become
unopenable after saving
When I open said files, the software may freeze for a while and then simply
abort loading like nothing ever happened, or just crash
Allocating more RAM for the software doesn’t fix the problem
The file becomes openable again after manually deleting a huge layerstyles.asl
in the .kra file,

STEPS TO REPRODUCE
Dunno how to reproduce exactly
But if you use a lot of layer styles on very large canvas it would happen from
time to time
For me it happened twice

OBSERVED RESULT
.kra file becomes no longer openable after saving, but deleting a huge
layerstyles.asl in the .kra file (by opening it as a .zip) makes it openable
again (naturally losing all layer style settings but otherwise still good)

EXPECTED RESULT
I expect .kra files with large resolution and multiple layer style settings to
load and save normally without having to tweak the file as .zip

SOFTWARE/OS VERSIONS
Windows 11
Krita 5.2.6

ADDITIONAL INFORMATION
The .kra file is rather big (200 MB) 
So here is the abnormally large layerstyles.asl file extracted from the .kra
(over 1 GB when extracted, compressed into a 6.6 MB .zip file)
Your website does not accept >4000KB files so here is the catbox link for the
file: https://files.catbox.moe/gv0mjs.zip

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list