FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.6k stars 53 forks source link

Only In Copy/Move Dialog: Search Fails To Show Hidden Folders #144

Closed GfEW closed 7 months ago

GfEW commented 7 months ago

Checklist

Affected app version

1.1.1

Affected Android/Custom ROM version

Android 9 to 11

Affected device model

diverse

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. In Fossify Gallery, make sure your hidden items are currently not shown and the setting "Password protect hidden item visibility" is active.
  2. In any folder or flat view, mark any items (media files or folders).
  3. Open the three dots menu, tap at "Copy to" or "Move to".
  4. In the dialog to select a destination, temporarily make hidden folders show up by tapping at the eye button and providing your credentials there (pattern, PIN or fingerprint).
  5. Still in the dialog to select a destination, scroll the list so you can see one of the hidden folders, then tap the filter (aka search) string input line and there, enter (some part of) the name of that hidden folder.

Expected behavior

The hidden folder should remain visible, i. e. be included in the filtered list (aka search results).

Actual behavior

The hidden folder vanishes from the list as soon as the first character is entered. In fact, the filtered list (aka search results) doesn't include any hidden folders, despite the valid credentials entered in step 4 and all hidden folders visible in the unfiltered destination list.

Screenshots/Screen recordings

No response

Additional information

This bug only applies if "Temporarily show hidden" is enabled via the eye button in the destination chooser dialog, as described. If instead "Temporarily show hidden" is enabled globally from the three dots menu before marking the items in step 2, the Copy/Move destination chooser then shows hidden folders right away, and so does the filtered list (aka search results) therein.