Created attachment 120382 [details] an example of incorrect behavior of file layers in 4.2.0 SUMMARY When trying to open .kra files containing file layers referencing another .kra files 4.2.0 opens them with blank images instead of supposed-to-be-there-images-from-a-file-layer. Opening files with .png file layers on the other hand works fine. STEPS TO REPRODUCE Fork 1: 1. Download the attachment with files saved in 4.1.7. 2. Open the file named test_file_layer_with_layer_kra_417.kra in 4.2.0 Fork 2. 1. Create a new file in 4.1.7 2. Make a new file layer referencing .kra file and save the file. 3. Open the previously saved file in 4.2.0. OBSERVED RESULT There should be a blank image instead of the file layer and on big(dimension wise) images(both file layer's and an image itself) canvas starts to lag. However clicking on folder icon on a file layer opening the file layer it is referencing. Opening the same file in 4.1.7 on the other hand working totally fine. EXPECTED RESULT Files should opened as before. Doing the same steps with .png files results in expected behavior: files in 4.17 and 4.2.0 looks the same and file layers are displayed correctly. I've included .png example in the same attachment for demonstrating the case. This is happening on both windows 10(64bit) and ubuntu 18.04 64bit-appimage version of 4.2.0.
For me it's a quite severe bug since my workflow is tightly coupled with file layer functionality and because of it I cannot use new krita at all.
This is so weird on macOS. 4.1.7 can't create .kra file Layers, but if I make a kra file layer in 4.2.0 it will show as an empty layer. The wird thing: Saving the file in 4.2 and opening it in 4.1.7 the KRA file layer shows correctly. Seems to be a regression
*** Bug 408909 has been marked as a duplicate of this bug. ***
Git commit 65e2cfa38ba8464793641d02ed0e792ec96aa3f1 by Boudewijn Rempt. Committed on 20/06/2019 at 08:42. Pushed by rempt into branch 'master'. Fix using kra and ora files in file layers M +1 -1 libs/ui/kis_safe_document_loader.cpp https://invent.kde.org/kde/krita/commit/65e2cfa38ba8464793641d02ed0e792ec96aa3f1
Git commit bdf356d85a50c692901b527dfafc008ec74b3a95 by Boudewijn Rempt. Committed on 20/06/2019 at 10:34. Pushed by rempt into branch 'krita/4.2'. Fix using kra and ora files in file layers M +1 -1 libs/ui/kis_safe_document_loader.cpp https://invent.kde.org/kde/krita/commit/bdf356d85a50c692901b527dfafc008ec74b3a95