Bug 297453 - Artistic text is not drawn where the user draws the bounding box
Summary: Artistic text is not drawn where the user draws the bounding box
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 2.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-04 09:54 UTC by Antoine
Modified: 2012-08-19 13:23 UTC (History)
1 user (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 Antoine 2012-04-04 09:54:28 UTC
For an artistic text, after the user has released the mouse button, the artistic text is drawn with the default text, but is if offset by approx. (-width/2, -height/2)
Comment 1 Halla Rempt 2012-04-08 13:44:17 UTC
Right, I can confirm this.
Comment 2 Halla Rempt 2012-04-08 14:19:10 UTC
Git commit ab1566da19a7ab806ec5e70710e53c81d206b0b3 by Boudewijn Rempt.
Committed on 08/04/2012 at 15:50.
Pushed by rempt into branch 'master'.

Fix position of the text shape inserted by krita's text tool

Apparently KoShape::setPosition() sets the position of the center
of the shape, not topleft.

M  +3    -1    krita/plugins/tools/tool_text/kis_tool_text.cc

http://commits.kde.org/calligra/ab1566da19a7ab806ec5e70710e53c81d206b0b3
Comment 3 Halla Rempt 2012-04-12 11:29:16 UTC
Git commit 32cf0494907c218fa75301e18541d5ca9a0cca21 by Boudewijn Rempt.
Committed on 08/04/2012 at 15:50.
Pushed by rempt into branch 'calligra/2.4'.

Fix position of the text shape inserted by krita's text tool

Apparently KoShape::setPosition() sets the position of the center
of the shape, not topleft.

M  +3    -1    krita/plugins/tools/tool_text/kis_tool_text.cc

http://commits.kde.org/calligra/32cf0494907c218fa75301e18541d5ca9a0cca21
Comment 4 Antoine 2012-08-19 13:23:45 UTC
The behaviour can still be observed in Krita 2.5.