gsantner / markor

Text editor - Notes & ToDo (for Android) - Markdown, todo.txt, plaintext, math, ..
https://github.com/gsantner/markor/discussions/2269
Other
3.69k stars 360 forks source link

v2.12.4 File browser: Opening files witout extensions opens the "Open with" dialog #2381

Open wshoy opened 1 month ago

wshoy commented 1 month ago

⚠️ This issue respects the following points: ⚠️

Description

Opening files without extensions shouldn't open the "Open with" dialog. It is the case, but you need to restart the app.

Steps to reproduce

  1. Create a file without extension
  2. Open the file - the "Open with" dialog opens (incorrect behavior)
  3. Close the app
  4. Open the app
  5. Open the file again - the "Open with" dialog doesn't open (correct behavior)

Information

Android version: 13 Device: App Version: 2.12.4

Source

F-Droid

Format / File type

Not specific

Additional info / Log

-
gsantner commented 1 month ago

I would say it's correct to ask to select which app to open with. Just like most other file managers do it for extensionless or unknown mime typed files.

Mime Type is not always clear/extractable and without a hint by file extension it is not always clear whats in the box. Hence good to ask about opening in what app.

wshoy commented 1 month ago

Most files without extensions are text files. Markor is a text editor, so it's reasonable to treat the file as one.