TeamAmaze / TeamAmaze/AmazeFileManager
Drawer category views reset to Home directory after rotation
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 6.4k
- Forks
- 1.7k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 1
Description
Describe the bug
Drawer category views (Images, Videos, Audio, Documents, APKs, Recent Files, Quick Access, Trash Bin) are not preserved across rotation.
After rotating the device, the selected drawer category is lost and the configured Home directory is reloaded instead.
To Reproduce
- Open Amaze File Manager
- Open a drawer category view such as
Images - Verify the category content is displayed
- Rotate the device
- Observe that the content view resets to the configured Home directory view instead of preserving the selected drawer category view
Expected behavior
The currently selected drawer category view should remain active across configuration changes.
For example, if Images is open before rotation, the Images view and its contents should still be displayed after rotation.
Screenshots / Video
Screen recording attached showing:
Imagesloading correctly- rotation to landscape
- content resetting to the configured Home directory
- selecting
Imagesagain restoring the correct view - rotation back to portrait causing the same reset
https://github.com/user-attachments/assets/bfa25617-41e4-4d0b-b22f-1426f119ac6e
Smartphone
- Device: Pixel 9 Pro Emulator
- OS: Android 16.0
- Rooted: No
- Version: Current
release/4.0branch build
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the rotation behavior on the release/4.0 branch, then trace how the selected drawer category and Home directory are restored across configuration changes. Done means each listed drawer category remains selected with its contents visible after rotating between portrait and landscape.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100