Skip to content

Drawer category views reset to Home directory after rotation #4629

Description

@geoffreysisco

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

  1. Open Amaze File Manager
  2. Open a drawer category view such as Images
  3. Verify the category content is displayed
  4. Rotate the device
  5. 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:

  • Images loading correctly
  • rotation to landscape
  • content resetting to the configured Home directory
  • selecting Images again restoring the correct view
  • rotation back to portrait causing the same reset
drawer_rotate_bug.mp4

Smartphone

  • Device: Pixel 9 Pro Emulator
  • OS: Android 16.0
  • Rooted: No
  • Version: Current release/4.0 branch build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions