Bug 467848 - Saving legacy Text blocks in nightly changes display size
Summary: Saving legacy Text blocks in nightly changes display size
Status: RESOLVED DUPLICATE of bug 470782
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: wolthera
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-27 09:27 UTC by keyth_qcfx2
Modified: 2023-07-22 10:26 UTC (History)
2 users (show)

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


Attachments
original font size (76.12 KB, image/png)
2023-03-27 09:28 UTC, keyth_qcfx2
Details
benchmark file on 5.1.0 (78.36 KB, image/png)
2023-03-27 09:28 UTC, keyth_qcfx2
Details
benchmark on load on nightly (78.10 KB, image/png)
2023-03-27 09:29 UTC, keyth_qcfx2
Details
benchmark on save on nightly with no edits (33.31 KB, image/png)
2023-03-27 09:29 UTC, keyth_qcfx2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description keyth_qcfx2 2023-03-27 09:27:51 UTC
SUMMARY
openning files in Krita krita-nightly-x64-5.2.0-prealpha-d722ed8729-setup will display text blocks much closer to the original size (the error is very small) but despite that if no change is made and you hit save with what you have the text will scale up or down on the document despite having the same font size


STEPS TO REPRODUCE
1. create a document in krita 5.0.0 or krita 5.1.0
2. create a text block in a vector layer
3. save KRA file
4. Open KRA file in the nightly build
5. Use text tool to open the editor but make no changes and hit SAVE

OBSERVED RESULT
Text block display size will shrink or scale up I think depending which version you saved the original file in despite the text having the same font size.

EXPECTED RESULT
Saving to display the same result as when I opened the editor because I did no changes to the text

SOFTWARE/OS VERSIONS
Windows: 10
Qt Version: 5.12

ADDITIONAL INFORMATION
this is somehow related to another bug when creating files in 5.0.0 and 5.1.0 as they also have size differences between them.
Comment 1 keyth_qcfx2 2023-03-27 09:28:13 UTC
Created attachment 157625 [details]
original font size
Comment 2 keyth_qcfx2 2023-03-27 09:28:45 UTC
Created attachment 157626 [details]
benchmark file on 5.1.0
Comment 3 keyth_qcfx2 2023-03-27 09:29:16 UTC
Created attachment 157627 [details]
benchmark on load on nightly
Comment 4 keyth_qcfx2 2023-03-27 09:29:44 UTC
Created attachment 157628 [details]
benchmark on save on nightly with no edits
Comment 5 Halla Rempt 2023-03-30 13:50:36 UTC
Wolthera, when you are back from your vacation, can you take a look? I haven't tried to reproduce this yet.
Comment 6 Alvin Wong 2023-07-22 08:10:25 UTC
I presume this is the same as bug 470782 and fixed.
Comment 7 Alvin Wong 2023-07-22 10:26:11 UTC

*** This bug has been marked as a duplicate of bug 470782 ***