v2.12.4 File browser: Opening files witout extensions opens the "Open with" dialog
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug. Not a question or feature request.
- [X] The topic is not already reported at Issues. (I've searched it).
- [X] Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
- [X] The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)
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
- Create a file without extension
- Open the file - the "Open with" dialog opens (incorrect behavior)
- Close the app
- Open the app
- 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
-
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.
Most files without extensions are text files. Markor is a text editor, so it's reasonable to treat the file as one.
I ran into this, so I looked at the Settings. Under
Settings > General > Always open with this app
I read that:
Use 'None,.html,.css,.js' for example if you want to edit web files *and those without file extension.*
So I tried entering "None" and "none" but was still prompted after restarting the app.
I keep personal notes in plain text without a .txt extension and it would be great if this functionality works as documented.
Thanks!
This is solved now