1.8.6 - viewer - filelist - excluded files still counted

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

User avatar
user0
XnThusiast
Posts: 2293
Joined: Sat May 09, 2015 9:37 am

1.8.6 - viewer - filelist - excluded files still counted

Post 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
VictorVG
Posts: 60
Joined: Mon Aug 24, 2009 10:54 pm

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

Post 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
Xeon E5 2697v2/C602/128 GB PC3-14900L Quad Channel/GTX 1660 Ti/9 Tb HDD
Xeon E5-2697v2/C602J/128 Gb PC3-14900L Quad Channel/GTX 1660 Ti/7Tb HDD
User avatar
user0
XnThusiast
Posts: 2293
Joined: Sat May 09, 2015 9:37 am

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

Post by user0 »

there is no bug in filter logic, only UI is not updating properly