Bug 442365 - Created templates don't account for vectors resized from image rescaling, malforming them
Summary: Created templates don't account for vectors resized from image rescaling, mal...
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Vector (show other bugs)
Version: 5.0.0-beta1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-13 05:07 UTC by tomtomtomreportingin
Modified: 2023-04-09 13:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomtomtomreportingin 2021-09-13 05:07:06 UTC
SUMMARY
This bug is sad as it's destructive. Created templates don't properly account vector objects being resized by image rescaling operations, meaning that the actual created template will provide malformed vectors instead of what was intended.

Not a regression of Krita 5.

STEPS TO REPRODUCE
1. Create A5 600 PPI document.
2. Add a vector layer.
3. Create a vector rectangle serving as the document's margins.
4. Image -> Scale Image to New Size, for example 1000x1414.
5. File -> Create Template from Image.
6. Open new template, which also has a seemingly correct preview.

OBSERVED RESULT
Sadness. The rectangle now spills out of the image.

EXPECTED RESULT
The vector rectangle should still be essentially serving as a margin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.12.11 (Appimage)
Comment 1 wolthera 2021-09-16 14:32:51 UTC
Seems it might be related to this bug: https://bugs.kde.org/show_bug.cgi?id=433220