OS: Linux 64bit (Xubuntu 18.04, to be specific)
I have most of my images, in the same exact folder, with the same exact files and sub-folders, that I copy/update across two computers (one Windows, the other Linux) and my smartphone.
I have hidden some of the files. To make that work on all three systems, I've not only given them a hidden attribute, but as the Linux computer (on a ext4 filesystem, where there is no hidden attribute) and smartphone (on a FAT32 microSD-card, but Android doesn't respect the hidden-attribute) can't handle that, so I put them in a folder that starts with a period (so rather than "folder" it's ".folder". This apparently being the [IMO inferior] *nix-equivalent, to a hidden attribute. I don't change the filenames for the image files, however, so they remain as "file.png", rather than ".file.png", but that should hardly matter), and as an extra measure, put it in a folder that has a file name ".nomedia" (the ".nomedia" seeming to be necessary, on the Smartphone)
So it looks like this:
Extra folder
├.nomedia
└.folder
On my Windows computer (Win7 64-bit, with same 64 bit XnViewMP 0.99.7), I can go to to the folder, and press to show all files in subfolders, and I get a nice view of all the images, including hidden ones (with the hidden ones are a bit "shaded", to show that they are hidden)
…and then, go into the settings, to unmark "Show hidden files & folders", so that hidden stuff should be hidden, go back to the browser, and see that the hidden files disappear from view.
Just as they should.
…but on my Linux computer, however, the hidden files are not "shaded", and when I unmark "Show hidden files & folders", they remain perfectly visible.
(remember: The files and folders are identical, on both systems)
Effect: Hidden files cannot be hidden
To reproduce:
1. Go to a folder with files in hidden sub-folders
2. Press the "Show files in subfolder"-button
3. Go into settings, and unmark the "Show hidden files & folders"
Actual behaviour (bug): Hidden files files & folders are shown

Expected behaviour: Hidden files files & folders are not shown. (i.e. they are hidden)