markor
markor copied to clipboard
FileManager: New file, file type not consistent with suffix
⚠️ 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
When I want to create a new file with type "todo.txt", the suffix is still ".md".
It only happens after the first time I click the FAB
https://github.com/gsantner/markor/assets/31406320/2b7a94de-f069-433c-af01-5b6a08f78fa2
Steps to reproduce
- Click FAB
- Click type
- Select todo.txt
- See the suffix after the file name automatically changes to ".txt". That's right
- Click back
- Click FAB again
- See the error: the file type is "todo.txt", but the suffix is ".md"
- If click ok to create the file, you will create a md file instead of todo.txt file
Information
Android version: 8.0 Device: App Version: 2.11.1
Source
F-Droid
Format / File type
Not specific
Additional info / Log
-
Yeah, the new file dialog needs some TLC. I have this a plan to make some improvements here.
- Better sync between ft and extension
- Remember template per ft