TeamAmaze / TeamAmaze/AmazeFileManager

`MediaScanner` not getting triggerred during folder creation, resulting in indexed searches failing to locate them.

Open
#4,330 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-FileOperations Issue-Bug
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Describe the bug
files or folders created within the Android directory cannot be found via search when the user returns to the root directory.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the 'Android' folder.
  2. Create any file or folder within this folder ("media" here).
  3. Return to the root directory.
  4. Use the search function to look for the newly created file or folder by name.
  5. Observe that the search yields no results for the file or folder.

Expected behavior
It is expected that the search function should find and display files or folders regardless of their location within the internal storage when searched from the root directory.

Screenshots
amaze1-ezgif com-video-to-gif-converter

Smartphone (please complete the following information):

  • Device: [MI CC9]
  • OS: [MIUI 12.0.3]
  • Rooted: [No]
  • Version: [3.10]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by creating a file or folder inside Android, returning to the root directory, and searching for it. Trace the MediaScanner and search-indexing entry points involved in folder creation, then verify that newly created items inside Android are found from the root directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.