1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Settings.

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
adrem85
Posts: 68
Joined: Mon Feb 10, 2020 12:47 pm

1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Settings.

Post by adrem85 »

Does anyone know what this section in the Settings - “View - Filter” is responsible for?

Image

The thing is, if I uncheck the “Video” option - I can't scroll through video files with the mouse wheel (next/prev). Is this a bug? Windows 11.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by user0 »

its filelist filter for Viewer tab
☐ Video will exclude all video files from Viewer tab filelist
adrem85
Posts: 68
Joined: Mon Feb 10, 2020 12:47 pm

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by adrem85 »

user0 wrote: Wed Feb 19, 2025 11:18 am its filelist filter for Viewer tab
☐ Video will exclude all video files from Viewer tab filelist
I have tabs disabled in the Settings. As for the video in the built-in file browser, it doesn't disappear after disabling this option, all videos are visible and can be viewed normally. The only change, as I wrote above, is the inability to scroll these files with the mouse wheel.

To be honest, I don't understand why this parameter is needed yet, what does it give to the user? Maybe there is some help about this section of Settings?

I already asked about the problem with switching video files with the mouse wheel in this program:
viewtopic.php?p=203786#p203786

But nobody told me anything about this parameter then. I thought the reason was in my INI file, but as it turned out, this particular parameter in the settings was to blame. The average user, unaware of it, can take a long time to find the cause of the problem.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by user0 »

Browser and Viewer have 2 separate filelist fitlers
  • Browser
    Browser > View > Filter by [Images, Video.. Custom]
    Settings > Filelist > Custom filter
  • Viewer
    Settings > View > Filter
adrem85
Posts: 68
Joined: Mon Feb 10, 2020 12:47 pm

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by adrem85 »

user0 wrote: Wed Feb 19, 2025 3:37 pm Browser and Viewer have 2 separate filelist fitlers
Thank you very much for the clarification. But then the question remains: why does turning off the Video option in the Viewer filter make it completely impossible to use the mouse wheel to switch between videos? I don't see logic in that, no advantage for the user. It seems more like a bug?

In other words, is it possible to make it so that enabling/disabling this option does not break the mouse wheel (on videos)?
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by user0 »

it's not the mouse wheel, it's navigation between video files in general, which is unavailable because you've filtered out video files*.
You can open video file in Viewer from Browser, but it will be excluded from Viewer filelist as soon as you navigate to another file.
If you need video files in Viewer filelist do not uncheck corresponding checkbox in Viewer filelist filter.

* however, there is a bug with counter in statusbar and navigation controls which is not updated accordingly and still count filtered out files
1.8.6 - viewer - filelist - excluded files still counted
adrem85
Posts: 68
Joined: Mon Feb 10, 2020 12:47 pm

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by adrem85 »

user0 wrote: Wed Feb 19, 2025 7:13 pmYou can open video file in Viewer from Browser, but it will be excluded from Viewer filelist as soon as you navigate to another file.
Thanks, it makes more sense now. But why make separate filters for Browser and Viewer when you can make one common one? What does it do?

In my opinion, those who don't need video in the Viewer won't want to see it in the Browser. And vice versa, those who need video support in a given program will want to enable it everywhere - both in the Browser and in the Viewer.

With existing “duplicate” settings the program starts to behave contradictorily - an inexperienced user may accidentally disallow video in the Viewer, but at the same time open it from the Browser - in the same Viewer, but with partially non-working functionality, which looks like a regular bug. And he won't even know what the reason is...
VictorVG
Posts: 60
Joined: Mon Aug 24, 2009 10:54 pm

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by VictorVG »

Judging by the behavior in MR, the filter works in the logic of "AND":

Code: Select all

Filter = (View Filter and Select) and (User Filter and Select)
The error is corrected simply - by adding two checks (one for each type of filter):

Code: Select all

If not Select then Filter = True Else Filter = Filter and Select End
or very simple:

Code: Select all

Filter = not (View Filter xor Select) and not (User Filter xor Select)
- this logic's not required two additional check for each filter

Code: Select all

If not Select then Filter = True Else Filter = Filter and Select End
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: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.8.6 - Swiping through video files with the mouse wheel stops working when you turn off the one option in the Setti

Post by user0 »

adrem85 wrote: Thu Feb 20, 2025 10:59 am In my opinion, those who don't need video in the Viewer won't want to see it in the Browser. And vice versa
viewtopic.php?f=82&t=45778
Post Reply