<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>399157</bug_id>
          
          <creation_ts>2018-09-27 19:58:10 +0000</creation_ts>
          <short_desc>Preview on the text tool: scale in the preview</short_desc>
          <delta_ts>2026-01-13 09:25:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Tool/Text</component>
          <version>4.1.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tiar">tamtamy.tymona</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>coleman_lee</cc>
    
    <cc>dimula73</cc>
    
    <cc>griffinvalley</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1788802</commentid>
    <comment_count>0</comment_count>
    <who name="Tiar">tamtamy.tymona</who>
    <bug_when>2018-09-27 19:58:10 +0000</bug_when>
    <thetext>SUMMARY
Text Tool preview make it hard to see text if the dpi is very big or very small.


STEPS TO REPRODUCE
1. Create a new document: something around A5 600dpi.
2. Go to Text Tool.
3. Create new text shape.
4. Go to Text Tool editor.
5. Make sure the Editor Mode is &quot;Both&quot; to see results better (it doesn&apos;t affect the results though).
6. Select &quot;SVG Source&quot; tab.
7. Click View -&gt; Zoom In or Zoom Out a few times. It works, source is bigger or smaller according to what you clicked.
8. Select &quot;Rich Text&quot;.
9. Click View -&gt; Zoom In or Zoom Out a few times.


OBSERVED RESULT #1
Nothing happens


EXPECTED RESULT #1
Text in the preview is scaled accordingly.


Also:
10. Change the size of the text to 5.

OBSERVED RESULT #2
The size of the text on a canvas is reasonable big, but the size of the text preview in the Text Tool is unreadable.


EXPECTED RESULT #2
There should be a way to make the text bigger in the preview, but there isn&apos;t any for now.


Use case: files with big resolution (like 600 dpi). See this post: https://www.reddit.com/r/krita/comments/9jevh6/problem_with_the_text_tool/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1791429</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2018-10-03 13:43:20 +0000</bug_when>
    <thetext>Git commit 7bf022087a55b667835a6ad2fe2008765900bfd6 by Dmitry Kazakov.
Committed on 03/10/2018 at 13:43.
Pushed by dkazakov into branch &apos;master&apos;.

Disable zoom-in/out actions when editing text in rich-text mode

Qt doesn&apos;t support zooming of the text that has fixed font hight
size using char-format. We should implement our own zooming for that.

M  +12   -2    plugins/tools/svgtexttool/SvgTextEditor.cpp
M  +3    -0    plugins/tools/svgtexttool/SvgTextEditor.h

https://commits.kde.org/krita/7bf022087a55b667835a6ad2fe2008765900bfd6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1791430</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2018-10-03 13:45:57 +0000</bug_when>
    <thetext>I have disabled the zoom actions for the rich-text editor. We need to implement our own zooming for the text for this case. Therefore I&apos;ll also downgrade this bug to a wish (though the wish is rather important)

WISHGROUP: Small Usability Fixes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1792988</commentid>
    <comment_count>3</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-10-10 09:42:44 +0000</bug_when>
    <thetext>Git commit 596403bd3fe6bd695146a6e6aa6a2c4f16d3a0bf by Boudewijn Rempt, on behalf of Dmitry Kazakov.
Committed on 10/10/2018 at 07:36.
Pushed by rempt into branch &apos;krita/4.1&apos;.

Disable zoom-in/out actions when editing text in rich-text mode

Qt doesn&apos;t support zooming of the text that has fixed font hight
size using char-format. We should implement our own zooming for that.
(cherry picked from commit 7bf022087a55b667835a6ad2fe2008765900bfd6)

M  +12   -2    plugins/tools/svgtexttool/SvgTextEditor.cpp
M  +3    -0    plugins/tools/svgtexttool/SvgTextEditor.h

https://commits.kde.org/krita/596403bd3fe6bd695146a6e6aa6a2c4f16d3a0bf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983459</commentid>
    <comment_count>4</comment_count>
    <who name="Tiar">tamtamy.tymona</who>
    <bug_when>2020-12-11 14:52:39 +0000</bug_when>
    <thetext>*** Bug 411377 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2484284</commentid>
    <comment_count>5</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2026-01-13 09:25:34 +0000</bug_when>
    <thetext>This has been resolved with the new text tool.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>