| Summary: | Psd files don't load layers correctly | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Simone <simonedrose> |
| Component: | File formats | Assignee: | amyspark <amy> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | adahlipenaloza, amy, mgayosof, pinkdama, shzam, simonedrose, WontoonRoo |
| Priority: | NOR | ||
| Version First Reported In: | 5.1.5 | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Android 13.x | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/4e69b49f8bbfc8feebf727e6410018521d12c040 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Bug layers
Screenshot Psd Krita New file New file 2 Draw and save file Saving Closed file Reopen file Open a previously saved file with lots of layers All layers are grey in preview and white on canvas Test file created with Krita Test file opened and saved in Csp 1 draw in Krita, save file as psd, no file name 2 file name and preview available in recent files 3 open and draw in csp and save 4 open file in Krita, canvas is white |
||
|
Description
Simone
2023-01-08 19:22:59 UTC
Hi! I'll assign this bug to myself. In the meanwhile, could you please send a small test case to help reproduce the bug? Both KRA and the exported PSD. Created attachment 155142 [details]
Screenshot
Created attachment 155143 [details]
Psd
Created attachment 155144 [details]
Krita
Hi, this may have happened after the update to 5.1.5. I have created psd files before the update and they were fine. Apparently, after the update none of my files show correctly. 1. File>New>Create 2. Draw on paint layer 3. File>Save as>Psd 4. Close file 5. Open file either via recent files or File>Open 6. Paint layer is white Created attachment 155145 [details]
New file
Created attachment 155146 [details]
New file 2
Created attachment 155147 [details]
Draw and save file
Created attachment 155148 [details]
Saving
Created attachment 155149 [details]
Closed file
Created attachment 155150 [details]
Reopen file
Created attachment 155151 [details]
Open a previously saved file with lots of layers
Created attachment 155152 [details]
All layers are grey in preview and white on canvas
I just uninstalled Krita and installed again. It's the same issue. Not sure whether it's important but on the Google Store it says "Krita (Early Access)". I'll start working on this later today. I cannot reproduce with desktop 5.15, used 8-bit RGBA for the export and then opened the file back into Krita. If you have a file that renders like that after export, please let us know by attaching it to this bug. Hi, I installed Krita for desktop and my old files look normal. The issue is with Krita on my Samsung Galaxy tablet S8 Ultra, SM-X900. I tried an experiment: 1. Save a file in Krita as psd (I noticed that after saving, the file name does not show in the header, even though it shows correctly in the recent files) 2. Open file in Clip Studio Paint and draw, save it as psd 3. Open the file in Krita Please check the attached files, it's all white after opening in Krita. Created attachment 155194 [details]
Test file created with Krita
Created attachment 155195 [details]
Test file opened and saved in Csp
Created attachment 155196 [details]
1 draw in Krita, save file as psd, no file name
Created attachment 155197 [details]
2 file name and preview available in recent files
Created attachment 155198 [details]
3 open and draw in csp and save
Created attachment 155199 [details]
4 open file in Krita, canvas is white
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. Given https://invent.kde.org/graphics/krita/-/commit/0f826dd72121d873450f9e2b72e6df82c04169ea is the only commit which touched PSD in 5.1.5, I think this happens because char type is unsigned on ARM and PackBits requires header to be signed here: https://invent.kde.org/graphics/krita/-/commit/0f826dd72121d873450f9e2b72e6df82c04169ea#7416fb520207f8cced3ae09d6d206dc234b55b83_120_96 (In reply to sh_zam from comment #25) > char type is unsigned on ARM and > PackBits requires header to be signed here: EEK. Assigning to myself, incoming fix now. Git commit 0abf00babfa80689521a67fcdb4527fc980d25f7 by L. E. Segovia. Committed on 14/01/2023 at 12:29. Pushed by lsegovia into branch 'master'. PSD: fix using implementation-defined signedness when decompressing RLE M +3 -2 libs/psdutils/compression.cpp https://invent.kde.org/graphics/krita/commit/0abf00babfa80689521a67fcdb4527fc980d25f7 Git commit 4e69b49f8bbfc8feebf727e6410018521d12c040 by L. E. Segovia. Committed on 14/01/2023 at 12:29. Pushed by lsegovia into branch 'krita/5.1'. PSD: fix using implementation-defined signedness when decompressing RLE (cherry picked from commit 0abf00babfa80689521a67fcdb4527fc980d25f7) M +3 -2 libs/psdutils/compression.cpp https://invent.kde.org/graphics/krita/commit/4e69b49f8bbfc8feebf727e6410018521d12c040 *** Bug 464418 has been marked as a duplicate of this bug. *** *** Bug 465013 has been marked as a duplicate of this bug. *** *** Bug 473133 has been marked as a duplicate of this bug. *** *** Bug 472900 has been marked as a duplicate of this bug. *** |