Bug 481557 - Krita 5.2.2 text tool cuts off last character
Summary: Krita 5.2.2 text tool cuts off last character
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (show other bugs)
Version: 5.2.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-19 23:03 UTC by connorpickett
Modified: 2024-03-06 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of display problem (117.85 KB, image/png)
2024-02-19 23:03 UTC, connorpickett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description connorpickett 2024-02-19 23:03:15 UTC
Created attachment 165944 [details]
screenshot of display problem

SUMMARY
Every time I use the text tool, the final character of my text is cut off. Even the initial placeholder text displays as "Placeholder Tex" in the document view. It is correct in the text-edit window. 

Documents that I created before this error appeared now have the same behavior. The last character of any text is cut off. 


STEPS TO REPRODUCE
1. Use the Text tool to add text.
2. 
3. 

OBSERVED RESULT
Document view always cuts off last character, regardless of font family or contents of text. 

EXPECTED RESULT
Should display the entire text. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 39
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version:  5.113.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
My office computer and home computer, both up-to-date Fedora 39 installations, both display the same behavior. When I downgrade to 5.1.5, there is no problem.
Comment 1 wolthera 2024-02-19 23:16:51 UTC
Hm... I can't reproduce that here in 5.3 on kde neon (even with Cantarell), can you share what's in the SVG source tab?
Comment 2 connorpickett 2024-02-20 21:11:22 UTC
SVG source for placeholder: 

<text style="fill:#000000; letter-spacing:0; font-family:Noto Sans; font-size:10; stroke-width:0"><tspan x="0">Placeholder Text</tspan></text>
Comment 3 Bug Janitor Service 2024-02-21 03:46:18 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 Dmitry Kazakov 2024-02-26 13:59:55 UTC
Hi, connorpickett!

Could you please check with the released AppImage version from the official Krita site?

https://krita.org/en/download/

I cannot reproduce the issue here, it might be that the version from Fedore uses a different version of Harfbuzz, which causes this issue.
Comment 5 connorpickett 2024-03-05 19:04:30 UTC
H(In reply to Dmitry Kazakov from comment #4)
> Hi, connorpickett!
> 
> Could you please check with the released AppImage version from the official
> Krita site?
> 
> https://krita.org/en/download/
> 
> I cannot reproduce the issue here, it might be that the version from Fedore
> uses a different version of Harfbuzz, which causes this issue.

The text tool works properly on the AppImage version. Thanks.
Comment 6 Bug Janitor Service 2024-03-06 03:47:01 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.