Skip to content

Search returns hidden files while Show hidden items is disabled #498

Description

@fubai578

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version


### Affected Android/Custom ROM version

Android 14 (API 34)

### Affected device model

MuMu Android Emulator (900 x 1600)

### How did you install the app?

F-Droid / IzzyOnDroid

### Steps to reproduce the bug

1. Enable Show hidden items and confirm that the hidden file `.fb_hidden_note.txt` exists in Download.
2. Disable Show hidden items and confirm the file disappears from the normal list.
3. Open Search and enter the exact hidden filename.

### Expected behavior

The hidden file should not appear in search results while Show hidden items is disabled.

### Actual behavior

Searching for the exact hidden filename still returns the file as a visible result, although the list view correctly hides it while the setting is off.

### Screenshots/Screen recordings

<img width="900" height="1600" alt="Image" src="https://github.com/user-attachments/assets/9251f977-abc2-412e-84db-d71c5633f991" />

<img width="900" height="1600" alt="Image" src="https://github.com/user-attachments/assets/2e0aa2a0-88d8-47c5-aec4-533582308192" />

### Additional information

- Package: `org.fossify.filemanager`
- Tested version: 1.6.1 (version code 13)
- Environment: Android 14 (API 34), MuMu Android Emulator (900 x 1600)

I turn hidden items off precisely so I do not stumble into system files; search bypassing that setting defeats its purpose.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions