Page 1 of 1
1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Wed May 10, 2023 5:10 pm
by user0
XnViewMP 1.4.5 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%
Draw - text
text jumps bottom-right on cursor move
To reproduce:
1. open any image in Draw
2. select 'Add text' tool
- add some text
- click on image to place text and hold mouse button
issue A
center of cursor does not match red dashed selection rectangular
issue B
3. move mouse in any direction (blue arrow)
text will jump from its original position to bottom-right direction
Related
Re: 1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Mon May 15, 2023 12:56 pm
by xnview

Thanks to your detailed description I can reproduce
the problem.
Re: 1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Fri Jun 16, 2023 4:08 pm
by xnview
This problem is supposed to be fixed in
XnView MP 1.5.0 beta. Please check and confirm the bug fix here.
Re: 1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Sat Jun 17, 2023 12:34 pm
by user0
1.5.0b1
A - still remain, but I think its not a bug
B - fixed, but there are related issues below
To reproduce:
1. run clean portable XnViewMP
2. open any image in Draw
3. select Text tool
4. click ~30 times while moving cursor over image (in order to insert default text multiple times)
issue C
- sometimes (1 out of 5) text still appears in top-left corner for a split of the second
issue D1
5. close Draw dialog
app will crash
issue D2
5. click Undo button to remove all Text
- all text will be removed
- toolbar: selection will move from Text tool to Selection Tool
6. click on image (toolbar: Selection is selected)
- toolbar: Text tool will be selected
- text will be pasted
app will crash
Re: 1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Mon Jun 19, 2023 11:42 am
by xnview
user0 wrote: Sat Jun 17, 2023 12:34 pm
A - still remain, but I think its not a bug
right not a bug, the move point is top left not center
To reproduce:
issue C
- sometimes (1 out of 5) text still appears in top-left corner for a split of the second
Right, will be fixed in b2
issue D1
5. close Draw dialog
app will crash
Right, will be fixed in b2
issue D2
5. click Undo button to remove all Text
- all text will be removed
- toolbar: selection will move from Text tool to Selection Tool
yes it's normal behavior.
6. click on image (toolbar: Selection is selected)
- toolbar: Text tool will be selected
- text will be pasted
app will crash
I don't understand how to reproduce?
Re: 1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Mon Jun 19, 2023 2:21 pm
by user0
xnview wrote: Mon Jun 19, 2023 11:42 am
issue D2
5. click Undo button to remove all Text
- all text will be removed
- toolbar: selection will move from Text tool to Selection Tool
yes it's normal behavior.
its OK that focus jumps to Selection tool when you Undo till the start,
its not OK that when you click on image -
Text tool will be activated and text will be pasted
Selection tool shall be active one
Another related issue:
- add 3 lines (it can be any tool)
- press Undo once
toolbar: focus will move from Line to Selection Tool
- click on image
Line tool will be activated and line pasted on image
its a bug because if you press Redo - Line tool will be activated,
that means app remembers selected tool at each step, and there is no reason to shift focus to Selection while doing Undo
xnview wrote: Mon Jun 19, 2023 11:42 am
6. click on image (toolbar: Selection is selected)
- toolbar: Text tool will be selected
- text will be pasted
app will crash
I don't understand how to reproduce?
its like this:
3. select Text tool
4. click ~30 times while moving cursor over image (in order to insert default text multiple times)
5. click Undo button until all Text is removed
6. click on image
app will crash
Re: 1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Mon Jun 19, 2023 2:46 pm
by xnview
user0 wrote: Mon Jun 19, 2023 2:21 pm
its OK that focus jumps to Selection tool when you Undo till the start,
its not OK that when you click on image -
Text tool will be activated and text will be pasted
Selection tool shall be active one
ok i understand now
Re: 1.4.5 - draw - text - text jumps bottom-right on cursor move
Posted: Tue Jun 20, 2023 6:29 pm
by user0
all fixed in 1.5.0b2