Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markor cannot write file back to droidFS #2219

Open
4 tasks done
braindevices opened this issue Feb 11, 2024 · 3 comments
Open
4 tasks done

markor cannot write file back to droidFS #2219

braindevices opened this issue Feb 11, 2024 · 3 comments

Comments

@braindevices
Copy link

braindevices commented Feb 11, 2024

⚠️ 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

I enabled Allow opening files with other applications and Grant write access.
i try to add some text to a file with markor, but this does not really work. markor said file saved, but once I close the markor, the modification goes away indicate the file is never written/saved.

According to hardcore-sushi/DroidFS#54

The author indicate this is a problem in markor.

I can actually save file with SimpleTextEditor, which indicate this might be actually something inside markor.

But so far I cannot see any obvious reason from source code, since in the writeFile(), we do handle the isContentResolverProxyFile(), then try to write back with openOutputStream()

Steps to reproduce

  1. in droidFS Allow opening files with other applications and Grant write access
  2. create an empty test.md in droidFS
  3. choose the test.md and in menu select open with external apps
  4. choose markor
  5. add some text
  6. save
  7. return back to droidFS and open the file, we can see it is still empty

Information

Android version: 13
Device: pixel 3a
App Version: 2.11.1

Source

F-Droid

Format / File type

Plaintext

Additional info / Log

No response

@braindevices
Copy link
Author

also I cannot see any debug log option

@gsantner
Copy link
Owner

also I cannot see any debug log option

For what especially? There is intentionally not too much profiling/logging included. The best way to analyze such issues at the end of the day is to clone the repository and debug it on the device 😄 .

@ccchan234
Copy link

for OP's interest,
markor works well with cryptomator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants