-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Orgro appears as handler for non-Org files/links on Android #58
Comments
Thanks for the report. Can you tell me what OS you're using? Because there are various limitations and workarounds I've had to put in on both Android and iOS. |
For context.. Orgro supports text files only. But it comes as an option in the "Open with" window of the system, no matter what type of file it is. Screen_Recording_20220326-185202_Material.Files.mp4Edit: I'm on OneUI 4.0, Android 12, Samsung. But I'm very sure that this used to happen on my old xiaomi as well so this issue must not be device dependent. |
I never heard back from @YuriySharlai, but I will assume this is Android-specific. The reason Orgro shows up as a handler for lots of things is because it seems that otherwise it will not show up at all when trying to open files from the file browser. The relevant code was introduced in 24d125c; it was based on this information. Reading other, newer answers on that StackOverflow question, it seems that not much has changed in the meantime. If there is a way to prevent Orgro from showing up when not appropriate, while still showing up when appropriate, then I would love to do that. But at the moment I don't know how. |
Hey I managed to get something working. I tested the modified debug one and the normal f-droid release. The file manager all-file-showing-up problem is gone in the debug one. You may want to test this change. |
Org files do not have a widely recognized MIME type. The official web site claims Regardless, Android (and other OSes, as far as I know) does not automatically understand .org files to be any particular MIME type, and it seems there's no way to teach the OS about it. I have two
So it sounds like actually all you did was break opening .org files via intent. |
Here are the intents I tested:
|
You're right, it's broken. |
The program tries to open EPS files. It opens them as text files. For example, Gmail could show these files in emails, but after installations of ORGRO the files are opened by ORGRO as text files.
It would be fine if ORGRO could show EPS files, but if it can not, it would be better not to try to.
The text was updated successfully, but these errors were encountered: