Skip to content

The ‘Restore Files’ dialog and ‘Processing’ prompt appear unnecessarily when no item is selected #4329

@RippleTester

Description

@RippleTester

Describe the bug
The ‘Restore Files’ dialog appears with the message ‘Loading…’, even when no item is selected.
After clicking the ‘DONE’ button, a ‘Processing’ prompt is displayed, but no action is performed.

To Reproduce
Steps to reproduce the behavior:

  1. Click on 'Hamburger' menu
  2. Click on 'Trash Bin'
  3. Long press to select an item
  4. Click on 'v' icon
  5. Click on 'Select Inverse'
  6. Click on 'Restore' icon
  7. Click on 'DONE' button

Expected behavior
The ‘Restore Files’ dialog should not appear if no item is selected.
Additionally, the ‘Restore’ action should be disabled when no files are selected to avoid unnecessary prompts.

Screen Recording

Screen.Recording.mov

Smartphone (please complete the following information):

  • Device: [Google Pixel 5]
  • OS: [Android 14]
  • Rooted: [No]
  • Version: [3.10]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-UIUXRelated to user interface/experience (e.g. dialogs, notifications).Issue-Easy (good first issue)Beginners welcome! Issues with relative low difficulty.Issue-GlitchGraphical issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions