zhanghai / zhanghai/MaterialFiles

Deleting files from Search does not remove them from view

Open
#858 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

To reproduce:

  1. Tap on Search and type some text which will return at least 1 file/folder
  2. Delete one of the found files/folders
  3. You can see that the file or folder is still displayed after confirmation. If you try to remove it again > java8.nio.file.NoSuchFileException

You have to exit the Search for the files to disappear from the view.

Contributor guide

No contributing guide indexed for this repository

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 from the Search screen by finding and deleting a file or folder, then inspect the Search results and deletion flow used after confirmation. Trace how the results view is refreshed after deletion. Done means the deleted item disappears immediately and attempting a second deletion does not produce NoSuchFileException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.