Page 1 of 1
0.84 b2: Draw Tool: Text alignment has no effect
Posted: Mon Dec 05, 2016 5:25 pm
by helmut
In the Draw tool, when inserting multiline text and then changing the text alignment, the text alignment will have no effect.
To reprocude:
1. Open Draw tool
2. Insert a text which uses multiple lines.
3. Change the alignment of the text.
--> Text alignment will not change.
Re: 0.84 b2: Draw Tool: Text alignment has no effect
Posted: Tue Dec 06, 2016 4:15 pm
by xnview
sorry but i can't reproduce, it works for me
Re: 0.84 b2: Draw Tool: Text alignment has no effect
Posted: Mon Dec 19, 2016 10:12 pm
by helmut
Not quite sure whether I had "Shadow" and "Outline" activated when producing this bug.
0.84 beta 3
In Draw tool, when inserting a multiline text with outline and shadow the text alignment doesn't work properly anymore.
To reproduce:
1. Start Draw tool
2. Insert a text.
3. Specify two lines of text, e.g.
This is a multline
text
4. Activate outline and shadow.
5. Change the alignment of the text (Left/centered/right).
--> You'll notice that the shadow changes its position and the text aligns no longer correctly.
Re: 0.84 b2: Draw Tool: Text alignment has no effect
Posted: Mon Dec 26, 2016 3:55 pm
by xnview
it's a limitation of Qt API

Re: 0.84 b2: Draw Tool: Text alignment has no effect
Posted: Tue Dec 27, 2016 12:35 am
by helmut
xnview wrote:it's a limitation of Qt API

Thanks for checking, Pierre. The "limitation" sounds like a bug in the Qt API.
Re: 0.84 b2: Draw Tool: Text alignment has no effect
Posted: Thu Dec 29, 2016 11:18 am
by xnview
helmut wrote:xnview wrote:it's a limitation of Qt API

Thanks for checking, Pierre. The "limitation" sounds like a bug in the Qt API.
I've found a workaround
Re: 0.84 b2: Draw Tool: Text alignment has no effect
Posted: Mon Jan 09, 2017 11:33 am
by helmut
Main problem fixed in beta 4.
Note:
The text changes its position slightly when changing aligment. But this is a minor issue.