Search settings and folder view (Plone 5)

I am developing a site.

If I set files to be not searchable (in search control panel), the files are not shown in folder view ( all of them: All content, table view etc.)

Feature or bug ?

Sounds like a bug.

don't know if this is a bug. However, it's annoying.

Is there perhaps a hiden switch to turn this behaviour on and off?