Page 1 of 1

1.9.5: Shift+Arrow selects wrong images after returning to list

Posted: Fri Oct 31, 2025 10:45 pm
by ThomasLandauer
XnView: MP 1.9.5 - 64 bit
OS: Linux - 64bit

Wrong images are getting selected with Shift+Arrow key

Effect: Might cause wrong files to get deleted/renamed/whatever

To reproduce:
1. Open a folder with multiple images
2. Press enter on the first image, to display it full-screen
3. Press the PageDown key (or space) twice, to advance (while in full-screen)
4. Press enter (or Escape) to return to the file list
5. Note that the cursor bar is now on image number 3 - as expected.
6. Now press Shift+ArrowDown
7. Images 3+4 are selected. This is as expected - oddly enough, the bug only occurs when you do the same for a second time. So go ahead:
8. Press Home to return to image 1 in the list.
9. Press Enter
10. Press PageDown twice
11. Press enter (or Escape) to return to the file list
12. Cursor bar is on image 3 again - as expected.
13. Now press Shift+ArrowDown again

Actual behaviour (bug): <Current wrong behaviour of XnView> :bug:

Image 1 throughout 4 are selected.
From now on, the bug *always* occurs (steps 9-13).

Expected behaviour: <Expected, correct behaviour of XnView>

Just images 3+4 should be selected.

Re: 1.9.5: Shift+Arrow selects wrong images after returning to list

Posted: Tue Nov 04, 2025 2:13 pm
by xnview
i've tried on ubuntu, and no problem here. Image 3+ are selected.

Re: 1.9.5: Shift+Arrow selects wrong images after returning to list

Posted: Tue Nov 04, 2025 2:43 pm
by ThomasLandauer
I just double-checked, it's exactly as I wrote above. I know it's weird and complicated to follow :-)
Possible ambiguities:
  • I'm talking about the cursor arrow keys, not PageDown.
  • When pressing Enter to view the image, I have no images selected (i.e. cursor bar is on one file only), so what I'm getting is the true full-screen view (not that other view that opens a tab)
  • During all steps, I don't use the mouse at all, and I don't press any other keys.
  • Maybe you need to repeat it more than once?

Re: 1.9.5: Shift+Arrow selects wrong images after returning to list

Posted: Tue Nov 04, 2025 4:40 pm
by xnview
please send us your xnview.ini

Re: 1.9.5: Shift+Arrow selects wrong images after returning to list

Posted: Tue Nov 04, 2025 5:44 pm
by ThomasLandauer
There you go, I think I found it:
I deleted my xnview.ini (to reset to default), then I could not reproduce it anymore.
I had to change 2 settings to make it reproducible:
  • Settings > Interface > Switching modes > Enter: Browser <-> Fullscreen | Viewer <-> Fullscreen
  • View > View as > Details