TeamAmaze / TeamAmaze/AmazeFileManager

When previewing files in an archive without a default "open with" application, cancelling to select an application will make every file unopenable

Open
#4,205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Easy (good first issue) Issue-Glitch
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Describe the bug
When previewing files in an archive without a default "open with" application, cancelling to select an application will make every file unopenable. Attempting to open any file in that archive will trigger a "Please Wait" notification, but the "open with" application selection panel is no longer shown, so it becomes impossible to open that file.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure you haven't specified a default "open with" application for a certain format (e.g. jpg).
  2. Create an archive (regardless of format, e.g. zip) containing files in that format.
  3. Open the archive with Amaze.
  4. Press on that file, so an "open with" application selection panel is shown.
  5. Press the "back" button, so the panel get closed.
  6. Press on that file again; the panel is no longer shown, so it's impossible to open that file again.

Expected behavior
The "open with" application selection panel should be shown again.

Screenshots

The first time to open the file:

The second time to open the file:

Smartphone (please complete the following information):

  • Device: Samsung Note20 5G
  • OS: Android 13
  • Rooted: No
  • Version: 3.10

Additional context
None.

Contributor guide

Open the contributing guide

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 archive preview flow on Android using a ZIP containing a file type with no default application, then trace the archive file-opening and application-selection entry points. Confirm the back action leaves the next open attempt without the selection panel; done means cancelling and retrying shows the panel again.

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.