Skip to content

FileManager: New file, file type not consistent with suffix #2199

@XYIheng

Description

@XYIheng

⚠️ This issue respects the following points: ⚠️

  • This is a bug. Not a question or feature request.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • 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
image

bug_file_type.mp4

Steps to reproduce

  1. Click FAB
  2. Click type
  3. Select todo.txt
  4. See the suffix after the file name automatically changes to ".txt". That's right
  5. Click back
  6. Click FAB again
  7. See the error: the file type is "todo.txt", but the suffix is ".md"
  8. 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

-

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions