Page 1 of 1

Browser - filelist - rename - incorrect cursor position

Posted: Fri Jul 14, 2023 6:04 am
by user0
XnViewMP 1.5.0 64bit
Windows11 (22H2), display resolution 3840x2160, win scaling 150%


Browser - filelist - file rename
incorrect cursor position after selection is cancelled

To reproduce:
1. open Browser
2. select image
3. press F2 to rename
whole name will be selected

Issue A
4. press → once
selection will be cancelled
cursor will be positioned one character to the right after selection

cursor_position.png
cursor_position.png (3.04 KiB) Viewed 5798 times
Expected behaviour
arrows in rename mode shall work the same way as in Windows File Explorer:
cursor shall be positioned right after last character of the selection


Issue B
same issue if rename via popup dialog (in Browser/Viewer)
4. manually select few characters in the middle of the name
5. press → (or ←) once
selection will be cancelled
cursor will be positioned to the wrong place that for some reason based on the direction of selection


Expected behaviour
arrows in rename mode shall work the same way as in Windows File Explorer:
→ - cursor shall be positioned right after last character of the selection
← - cursor shall be positioned right before first character of the selection (same as in issue A)


Issue C
4. press ↑ or ↓ once
name edit mode will be cancelled
focus will shift to another file


Expected behaviour
arrows in rename mode shall work the same way as in Windows File Explorer:
↑ equals ←
↓ equals →





Related