1.11.6 File selection gets reset when closing Settings

Bugs which have been reproduced by a second user or the developer, or features to do

Moderators: xnview, Dreamer

deil
Posts: 24
Joined: Sat Dec 16, 2017 2:54 pm

1.11.6 File selection gets reset when closing Settings

Post by deil »

XnView: MP 1.11.6 64 bit
OS: Windows 10Pro 22H2 64bit

Effect: When in Browser mode, after closing the "Settings" window, the selected file/folder is not selected anymore, and the browser is scrolled to the top. Nothing is selected, and if I press Left on the keyboard, the cursor starts moving from the first file in the current folder.
That's especially painful in big folders, and you lose the position somewhere in the middle of thousand files. This behavior only started somewhere around 1.11.x version, can't say when exactly, sorry, but I'm almost sure it used to be as described in "Expected behaviour".

To reproduce:
1. Open folder with a lot of files, so there's a scroll bar.
2. Scroll somewhere down and click once on any file to select it.
3. Press F12 to open Settings.
4. Close Settings, with either Ok or Cancel button.

Actual behaviour (bug): No file in browser is selected anymore, and the browser is scrolled to the very top.

Expected behaviour: The file that was selected before Settings window was opened is still selected, and the scroll position is unchanged.
User avatar
xnview
Author of XnView
Posts: 48605
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.11.6 File selection gets reset when closing Settings

Post by xnview »

:bugconfirmed: