Page 1 of 1

1.8.6 - viewer - filelist - excluded files still counted

Posted: Wed Feb 19, 2025 7:54 pm
by user0
XnViewMP 1.8.6 64bit
Windows11 (24H2), display resolution 3840x2160, win scaling 150%


Viewer - filelist
excluded files are still counted in statusbar and nav controls

To reproduce:
0. prerequisites
  • have 1 image and 2 video files in folder (eg 1.png, 2.mp4, 3.mp4)
  • uncheck Video in Settings > View > Filter
1. open video file (eg 2.mp4) from win file explorer via Open with context menu
video file will open in Viewer - OK
statusbar will show 2/3 and next_file navigation control will be enabled
2. navigate to the image and try to navigate back to video file
statusbar will show 1/3 and next_file navigation control will be enabled

expected behaviour
filtered out files should be excluded from Viewer filelist:
- on load (open excluded should remain open though) and
- as soon as user navigates from excluded file to another one


ref
Browser>Filter by & Image viewing filtering




Related

Re: 1.8.6 - viewer - filelist - excluded files still counted

Posted: Fri Feb 21, 2025 8:43 am
by VictorVG
Filter bug fix is very simple - see logic in to viewtopic.php?f=62&t=48600&p=204420#p204420

P.S.

The simplest discrete mathematics. :D

Re: 1.8.6 - viewer - filelist - excluded files still counted

Posted: Fri Feb 21, 2025 11:17 am
by user0
there is no bug in filter logic, only UI is not updating properly