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

--- Comment #3 from Nico <nischtzchat+kr...@gmail.com> ---
Hi :)
I've tried the portable 5.0-prealpha thingie.

Trying to overwrite the file (CTRL+S or File>Save) still throws an error
message, but it's a different one than in Krita 4.4.7:

================================================================================
SESSION: 10 Aug 2021 00:58:58 +0200. Executing
Z:\DOWNLOADS\Firefox\_Programs\krita-nightly-x64-5.0.0-prealpha-ddac595d6e\krita-nightly-x64-5.0.0-prealpha-ddac595d6e\bin\krita.exe

Krita Version: 5.0.0-prealpha (git ddac595), Qt version compiled: 5.12.11,
loaded: 5.12.11. Process ID: 19020
-- -- -- -- -- -- -- --
10 Aug 2021 00:58:58 +0200: Style: fusion. Available styles: windowsvista,
Windows, Fusion
10 Aug 2021 00:59:17 +0200: Non-store package - creating updater
10 Aug 2021 00:59:27 +0200: Importing application/x-krita to
application/x-krita. Location: Z:/3D Stuff/_Krita/shirt_michi_holger_NEW.kra.
Real location: Z:/3D Stuff/_Krita/shirt_michi_holger_NEW.kra. Batchmode: 0
10 Aug 2021 00:59:27 +0200: Loaded image from application/x-krita. Size: 3508 *
3508 pixels, 4.16667 dpi. Color model: 8-bit integer/channel RGB/Alpha
(sRGB-elle-V2-srgbtrc.icc). Layers: 14
10 Aug 2021 00:59:33 +0200: Saving Document Z:/3D
Stuff/_Krita/shirt_michi_holger_NEW.kra as Z:/3D
Stuff/_Krita/shirt_michi_holger_NEW.kra (mime: application/x-krita). 3508 *
3508 pixels, 14 layers.  101 frames, 24 framerate. Export configuration: No
configuration
10 Aug 2021 00:59:33 +0200: Create a simple backup for Z:/3D
Stuff/_Krita/shirt_michi_holger_NEW.kra in the same location as the file.
10 Aug 2021 00:59:34 +0200: Converting from application/x-krita to
application/x-krita. Location: Z:/3D Stuff/_Krita/shirt_michi_holger_NEW.kra.
Real location: Z:/3D Stuff/_Krita/shirt_michi_holger_NEW.kra. Batchmode: 0.
Configuration: none
10 Aug 2021 00:59:35 +0200: Completed saving Z:/3D
Stuff/_Krita/shirt_michi_holger_NEW.kra (mime: application/x-krita). Result:
Cannot open file for writing. Reason: The file could not be copied.. Size:
6922637. MD5 Hash: 7ea936a1f960ac531b27fa8283b7a729
10 Aug 2021 00:59:57 +0200: CLOSING SESSION
================================================================================


Other files (without embedded palettes) are overwritten in 5.0-prealpha without
this error, so it shouldn't be missing priviledges or something.

When saving the project file under a new filename however (Save As...), the
file is saved successfully and can then be overwritten by Krita 5.0-prealpha
even after restarting it. Also, creating a new document-embedded palette on
5.0-prealpha appears to work without corrupting the file - at least on
5.0-prealpha. This new file is still bugged for Krita 4.4.7, though.

So my guess would be that Krita 4.4.7 makes some kind of mistake at the time it
loads a file with an embedded palette, which completely prevents it from saving
this file at all?
Also, any files with palettes that are saved on 4.4.7 appear to produce a
"corrupted" one that only 5.0-prealpha can successfully "save as" a new file
but still NOT overwrite.

TL;DR
KRA file with embedded palette created and saved by 4.4.7:
- cannot be overwritten  by 4.4.7
- cannot be saved as new by 4.4.7
- cannot be overwritten  by 5.0-prealpha
- CAN    be saved as new by 5.0-prealpha

KRA file with embedded palette created and saved by 5.0-prealpha:
- cannot be overwritten  by 4.4.7
- cannot be saved as new by 4.4.7
- CAN    be overwritten  by 5.0-prealpha
- CAN    be saved as new by 5.0-prealpha

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to