-
Notifications
You must be signed in to change notification settings - Fork 591
Open
Description
Describe the bug
When a folder is deleted, the app displays a raw Java exception (java8.nio.NoSuchFileException) in a Toast message instead of handling it gracefully. Furthermore, the breadcrumb navigation bar fails to update; it retains the path to the deleted folder. Clicking this stale path in the navigation bar triggers the same raw exception again.
To Reproduce
- Open the file manager and navigate to a directory containing a folder.
- Long-press a folder to select it.
- Long-press the folder again to enter it while it remains selected.
- Tap the Delete button to delete this folder.
- Issue 1: Observe a Toast displaying a raw exception: java8.nio.NoSuchFileException.
- Navigate back to the parent directory (the last folder).
- Notice that the deleted folder still appears in the top navigation bar (breadcrumbs).
- Tap the deleted folder's name in the navigation bar.
- Issue 2: Observe the same java8.nio.NoSuchFileException Toast appears again.
Expected behavior
- The app should never expose raw Java exceptions to the user
- Once a folder is deleted, the app should automatically update the breadcrumb navigation bar to remove the deleted path and safely redirect the user to the nearest existing parent directory. (or prevent the user to enter the deleted folder)
Video
20260225_211540.mp4
Smartphone (please complete the following information):
- OS: [Android 11]
- Version: [1.7.4]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels