Bug 460194

Summary: Resizing an image while exporting will not resize fill layer patterns
Product: [Applications] krita Reporter: bee
Component: Resize/Scale Image/LayerAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: griffinvalley
Priority: NOR    
Version: 5.1.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bee 2022-10-10 10:14:03 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When resizing an image during the export process, fill layers containing patterns will not resize their patterns, this is unintuitive.
In my case, i am working at a lower resolution and using patterns to add some shading, however when i resize to prevent browsers from using liner upscaling (as my work is designed to be viewed using nearest neighbor), the pattern size stays the same.

STEPS TO REPRODUCE
1. Create a fill layer using a pattern as the fill
2. Advanced Export
3. Resize the export to be bigger then the original piece
4. Open exported image

OBSERVED RESULT
Fill layer pattern retains sizing at whatever it was set to, rather then being upscaled with the rest of the image

EXPECTED RESULT
Fill layer patterns should resize in accordance with the resizing of the image, so that canvas and output match
Comment 1 wolthera 2023-01-12 13:55:57 UTC
Hi, thank you for your report.

I can confirm with the Krita Version: 5.2.0-prealpha (git 5c98a72) Appimage with Qt 5.15.7

In general, fill layer's settings aren't scaled along image->scale to new size. Perhaps the whole image needs to be merged first before scaling for export, as wee have a similar problem with layer styles.