Texts, rectangle and ellipse are placed in wrong location and size when font size diff 100%

Moderators: cday, XnTriq, helmut, xnview, Dreamer

picpros
Posts: 7
Joined: Sun Oct 08, 2017 7:51 pm

Texts, rectangle and ellipse are placed in wrong location and size when font size diff 100%

Postby picpros » Sun Oct 15, 2017 10:35 am

Hello,

I love Your program and using it intensively.
That probably why I have found this bug.
It would be nice to fix it, so I don't have to use other software for adding texts

Path to reproduce:
Movie showing below steps is available here: https://www.screencast.com/t/RrZMMoA1 (unblock Flash to see movie). Movie was not recorded in full screen resolution.
0) Set "Screen Resulution" -> "Font size..." to 150%. (I guess value different from 100%) (attached 150.png file)
1) Open picture that is bigger then your screen resolution (attached "black.png" file 3928x2210) (e.g. twice size that your screen resolution - my resolution 1920x1080)
2) Click "Draw" icon on toolbar - "Draw" window will appear
3) Enter the text at the bottom of the screen (attached "Draw.png" file)
4) Accept changes by clicking "OK"

Observed:
Text will appear in the middle of the image instead of botton (attached "AfterOK.png" file)

Expected:
Text in correct size appear in the correct location.

Notice:
Problem noticed on: XnView MP Windows Version 0.87 64bits (Sep 7 2017).
I observed problem also on: XnView MP Windows Version 0.86.
I am using Windows 10 64bits.
Reinstallation doesn't help. I do not remember that I have uninstalled 0.86 and then installed 0.87 or installed 0.87 on the 0.86, but it doesn't help solve the issue.
I guess prblem is when picture is bigger then your screen resolution.
It looks problem is not related to "Draw" window size.
I tried "Times New Roman" "Arial" and "Calibri" fonts - problem exist for all of them.
The same problem is observed for "Draw a rectangle" and "Draw an ellipse" commands

Workaround:
Set "Screen Resulution" -> "Font size..." to 100%. (attached 150.png file)

Solution:
Problem is fixed in XnView MP 0.88 version.

Thank you in advance for Your help,
Andrew
Attachments
150.PNG
black.png
Draw.PNG
AfterOK.PNG
Last edited by picpros on Mon Nov 06, 2017 5:10 pm, edited 12 times in total.

User avatar
xnview
Author of XnView
Posts: 28275
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Texts are placed in wrong position and wrong size

Postby xnview » Mon Oct 16, 2017 8:54 am

strange, i can't reproduce. Could you send me the image used?
Pierre.

picpros
Posts: 7
Joined: Sun Oct 08, 2017 7:51 pm

Re: Texts are placed in wrong position and wrong size

Postby picpros » Mon Oct 16, 2017 5:36 pm

Right!
I attached "black.png" (in previous post) that I have used.
Is there anything more that I can do, to help you track the problem?

cday
XnThusiast
Posts: 1574
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Texts are placed in wrong location and wrong size

Postby cday » Mon Oct 16, 2017 6:19 pm

I can't reproduce either, a possible misunderstanding about how the text tool should be used??

o Text size set is in pixels, I presume, so text will appear smaller when image dimensions are larger.

o After setting the text parameters, when the mouse cursor is moved over the image it should change into a small cross, which is the text insertion point when the left mouse button is clicked. Text is always inserted where expected in my tests even when the image is larger than the screen dimensions.

o After text insertion as above, the mouse cursor changes into a four-headed arrow which enables the entered text to be moved, until 'OK' is clicked.

o Blank lines in the text entry box above or below the desired text may affect the position at which the desired text is inserted.

Otherwise, perhaps more details of your detailed steps, or ideally a video recording?

picpros
Posts: 7
Joined: Sun Oct 08, 2017 7:51 pm

Re: Texts are placed in wrong location and wrong size

Postby picpros » Tue Oct 17, 2017 5:27 pm

Thank You for such detailed description - it is very rare to get professional help.
I can't attach .swf movie, so I am sharing it through screencast.com service. It shows how it behavies on my machine:
In the movie I am reproducing above steps: https://www.screencast.com/t/RrZMMoA1 (unblock Flash to see movie (e.g. in Edge))

Additional tests:
I tried "Times New Roman" "Arial" and "Calibri" fonts - problem exist for all of them.
The same problem is observed for "Draw a rectangle" and "Draw an ellipse" commands

How I can help more?

picpros
Posts: 7
Joined: Sun Oct 08, 2017 7:51 pm

Re: Texts, rectangle and ellipse are placed in wrong location and wrong size

Postby picpros » Tue Oct 17, 2017 6:07 pm

I tracked it - Hooray!!
Problem exist when "Screen Resulution" -> "Font size..." is set to 150%.
I believe value different from 100%.

User avatar
xnview
Author of XnView
Posts: 28275
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Texts, rectangle and ellipse are placed in wrong location and size when font size diff 100%

Postby xnview » Mon Oct 30, 2017 12:59 pm

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.

picpros
Posts: 7
Joined: Sun Oct 08, 2017 7:51 pm

Re: Texts, rectangle and ellipse are placed in wrong location and size when font size diff 100%

Postby picpros » Thu Nov 02, 2017 10:20 am

Thank You in advance for fix
Andrew

User avatar
xnview
Author of XnView
Posts: 28275
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Texts, rectangle and ellipse are placed in wrong location and size when font size diff 100%

Postby xnview » Fri Nov 03, 2017 1:04 pm

This problem is supposed to be fixed in XnView MP 0.88. Please check and confirm the bug fix here.
Pierre.

picpros
Posts: 7
Joined: Sun Oct 08, 2017 7:51 pm

Re: Texts, rectangle and ellipse are placed in wrong location and size when font size diff 100%

Postby picpros » Mon Nov 06, 2017 5:07 pm

Huray!!
Thank You for the fix!
I confirm, problem is fixed in XnView MP version 0.88.
Andrew


Return to “0.89 Testing – Fixed/Resolved”

Who is online

Users browsing this forum: No registered users and 0 guests