Created attachment 157224 [details] A test image + a series of 3 images showing the unexpected behavior SUMMARY Using file layers in a document and scaling the image either by "image -> scale image to new size" or via the "file -> export advanced" will result in the file-layers being cropped to the new size instead of scaled. STEPS TO REPRODUCE 1. Add a File Layer to a Krita document. I imported PNG files. 2. Scale the image to a new size, like 50% 3. The image's dimensions are changed but the file layer is just cropped instead of scaled. OBSERVED RESULT The file layer is not scaled with the rest of the image EXPECTED RESULT The contents of the file layer should match the new scale of the image SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION This is possibly related to an old bug 349821 where transforming file layers seems out of the question at first but is later marked as resolved fixed.
*** This bug has been marked as a duplicate of bug 470110 ***
Git commit 91aa790cab80fac35b62bd96b8b9f15e92d1bc8b by Dmitry Kazakov. Committed on 23/08/2024 at 13:21. Pushed by dkazakov into branch 'master'. Make sure file layers are updated when image size or resolution changes Related: bug 470110 M +29 -0 libs/ui/kis_file_layer.cpp M +5 -0 libs/ui/kis_file_layer.h https://invent.kde.org/graphics/krita/-/commit/91aa790cab80fac35b62bd96b8b9f15e92d1bc8b
Git commit c554def57cde7aad7835d3245d678548cae3eaf0 by Dmitry Kazakov. Committed on 27/08/2024 at 06:57. Pushed by dkazakov into branch 'krita/5.2'. Make sure file layers are updated when image size or resolution changes Related: bug 470110 M +29 -0 libs/ui/kis_file_layer.cpp M +5 -0 libs/ui/kis_file_layer.h https://invent.kde.org/graphics/krita/-/commit/c554def57cde7aad7835d3245d678548cae3eaf0