Page 1 of 1

0.87: New Folder does not select the folder name for renaming

Posted: Mon Oct 02, 2017 9:02 pm
by young
XnView MP 0.87, all OS

When you create a New Folder, the folder name becomes editable. However, the folder name is not selected, as it is in Windows Explorer. Instead, the text cursor is at the end of the folder name, so anything the user types gets appended to the folder name, instead of replacing it.

For example, if you want to name a folder "folder1", then it comes out as "New Folder 1folder1"

This was reported previously, and it was fixed in 0.78: viewtopic.php?f=60&t=32058&p=130063

However, the bug is back in 0.87.

Re: 0.87: New Folder does not select the folder name for renaming

Posted: Fri Oct 13, 2017 11:24 am
by xnview
i can't reproduce, when i create a new folder, the name is selected in thumbnail view

Re: 0.87: New Folder does not select the folder name for renaming

Posted: Mon Dec 18, 2017 4:27 pm
by young
Problem still repros in 0.88.

Attached is a video capture that shows this behavior. It's an animated GIF, so you'll have to click through.

Re: 0.87: New Folder does not select the folder name for renaming

Posted: Mon Dec 18, 2017 5:02 pm
by xnview
i can't reproduce, could you send me your xnview.ini?

Re: 0.87: New Folder does not select the folder name for renaming

Posted: Tue Dec 19, 2017 2:27 am
by young
I found a way to reproduce.

The bug only happens when XnView MP is running in a virtual machine. It works correctly when running directly on a physical computer.

It happens on both Virtualbox and Hyper-V. It happens on both Windows and Linux. It happens when using the VM console and Remote Desktop. The only variable is whether XnViewMP is running virtualized.

The bug behaves exactly the same as Issue 744. The new folder name is highlighted for a fraction of a second, but the highlight disappears and the cursor jumps to the end.

Re: 0.87: New Folder does not select the folder name for renaming

Posted: Tue Dec 19, 2017 3:00 pm
by xnview
I can't reproduce on VMware, you have the problem with a clean .ini?

Re: 0.87: New Folder does not select the folder name for renaming

Posted: Tue Dec 19, 2017 11:31 pm
by young
xnview wrote:I can't reproduce on VMware, you have the problem with a clean .ini?
I tried it on VMware, and the bug is still reproducing.

This is happening with a clean .ini and the ZIP version of XnView MP 0.88.