Bug 503954

Summary: Layers randomly merge, quality drops - First time reporting, I apologise if I made mistakes or didn't make sense.
Product: [Applications] krita Reporter: fruityflareups
Component: Layers/VectorAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: info
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fruityflareups 2025-05-09 09:43:34 UTC
***
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


STEPS TO REPRODUCE
1. Open a file layer when you create your new file

2. Create new layer to trace the file imported

3. Duplicate that layer and trial different colour schemes by using the bucket tool and colour dropper

4. For me, the program wouldn't let me zoom in - either with mousewheel or my drawing pad. Sometimes the drawing cursor wouldn't show on the screen. 

5. So you don't lose your progress, save your work and allow it to save as a Krita file too.

6. Close and re-open Krita to find your layers have all been merged and the quality has dropped, your outlines are jagged from using your brush, and the bucket tool areas are also very jagged.
OBSERVED RESULT
All layers have all been merged and the quality has dropped, the outlines are jagged from using a brush, and the bucket tool areas are also very jagged.

EXPECTED RESULT
Layers to remain the same/how they were before I closed the program after saving, smooth lines and good quality.

SOFTWARE/OS VERSIONS
Windows: 5.2.3 (git 68d178c)
macOS: 
  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.26100
  Pretty Productname: Windows 10 Version 2009
  Product Type: windows
  Product Version: 10
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
  Version (compiled): 5.15.7
  Version (loaded): 5.15.7

ADDITIONAL INFORMATION
Version: 5.2.3 (git 68d178c)
 Installation type: installer / portable package
 Hidpi: true
Comment 1 David REVOY 2025-05-09 16:34:49 UTC
Hi, welcome here, bug report well received, good for a first one!

You probably saved to a file format that doesn't support layers, and that also has a compression feature to compress the file (in exchange of reducing the quality). The JPEG or JPG format is known for that, and useful to share picture online. 

If you want to keep your quality and save layer, you need to save as KRA files. Find while saving the "Files of Type: Krita document (*.kra *.krz) option."

I hope it will help, if it is, don't hesitate to reply here.
 
If it wasn't this the solution to your issue, feel free to add more information here, and details the saving steps and option you are using. Waiting for that, I'll put the bug report in NEEDSINFO/WAITINGFORINFO.
Comment 2 David REVOY 2025-05-09 16:42:08 UTC
By the way, I read you activated "and allow it to save as a Krita file too." , so if you saved as test.jpg you should also have a test.jpg.kra file near to it, in the same directory. 

This one should contain your layers and be lossless quality. Let us know if this file wasn't created despite the option checked. I tested here, and the additional .kra file was created.
Comment 3 Bug Janitor Service 2025-05-24 03:47:43 UTC
๐Ÿ›๐Ÿงน โš ๏ธ 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!
Comment 4 Bug Janitor Service 2025-06-08 03:47:54 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.