0.84 b2: Draw Tool: Text alignment has no effect

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderators: XnTriq, helmut, xnview

User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

0.84 b2: Draw Tool: Text alignment has no effect

Post 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.
User avatar
xnview
Author of XnView
Posts: 44572
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.84 b2: Draw Tool: Text alignment has no effect

Post by xnview »

sorry but i can't reproduce, it works for me
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84 b2: Draw Tool: Text alignment has no effect

Post 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.
User avatar
xnview
Author of XnView
Posts: 44572
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.84 b2: Draw Tool: Text alignment has no effect

Post by xnview »

it's a limitation of Qt API :(
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84 b2: Draw Tool: Text alignment has no effect

Post 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.
User avatar
xnview
Author of XnView
Posts: 44572
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.84 b2: Draw Tool: Text alignment has no effect

Post 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
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84 b2: Draw Tool: Text alignment has no effect

Post by helmut »

Main problem fixed in beta 4.

Note:
The text changes its position slightly when changing aligment. But this is a minor issue.