Description: After installing LO Viewer for Android, attempting to open a .odt file using the "My Files" app still gives an error saying no application exists to open that file type. I went to the Android config "apps" screen, and for Libre Office Viewer the "Set as default" section was greyed out (inactive) with the notice "None set as default". There is no obvious way that I could find to manually configure the app to be used to open .odt files. Steps to Reproduce: 1.Install Libre Office Viewer for Android through the Play Store 2.Get an .odt file onto the phone, e.g. download with a browser 3.Use the "My Files" app (a Samsung thing, don't know about others) to navigate to the relevant folder (e.g. Downloads) and tap .odt file to open it. Actual Results: Pop-up says there is no app configured to open that file type, and offers to open Android Play Store to install something. Expected Results: Installing LO Viewer for Android should automatically configure the os to make LO Viewer the default app for, at least, the ODF file types; or provide a user dialog to configure same. Reproducible: Always User Profile Reset: No Additional Info: I installed LibreOffice Viewer Version 6.1.0.0.alpha0+ Build ID 484d0ea842da My phone is a Samsung Galaxy s7 running Android 8.0.0
Hrm. There is another app, "Open Document Reader" by Thomas Taschauer, that seems to do everything LO Viewer aims for and at first glance works perfectly. Website is https://opendocument.app It's ad-supported, but not obnoxious. It's docs say it is "Open Source", so maybe LO Viewer could pick up something useful from this program. Or maybe it's better to not spend energy re-inventing things and withdraw LO Reader so people don't waste their time with it (as I've done with much frustration). -Jim
Hello Jim. Thanks for comments. Play has older version. Please test with current from https://dev-builds.libreoffice.org/daily/master/Android-ARM@24-Bytemark-Hosting/current/
Dear Jim Avera, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
On a Samsung J3 with android version 8.0.0 and kernel 3.18.14-..., I downloaded and installed and installed master~2020-02-29_01.00.10_LibreOfficeViewer-strippedUIEditing-debug.apk. When I select a .odt from "My Files", the system tells me: You don't have any apps that can open this type of file. I am setting bug status NEW.
I've seen this on a Samsung A8 as well. At a quick glance, that seems to be an issue with the "My Files" app, not the LibreOffice Viewer. When using e.g. "Simple File Manager Pro" [1] instead, it works as expected. Interestingly, '.docx' and '.xlsx' files are also properly associated in the Samsung app, while '.odt' and '.ods' ones are not. [1] https://f-droid.org/en/packages/com.simplemobiletools.filemanager.pro/
(In reply to Michael Weghorn from comment #5) > When using e.g. "Simple File Manager Pro" [1] instead, it works as expected. > Interestingly, '.docx' and '.xlsx' files are also properly associated in the > Samsung app, while '.odt' and '.ods' ones are not. Correction: '.ods' works for me now, at least after I did an update of the Samsung "My Files" app to version 10.1.06.661. I *think* I tested before and it did not work with version 10.0.02.102, but I might be wrong, cannot say by 100% whether I actually tested... '.odt' still does not work. Also, those MIME type associations work just fine when opening an ODT file from e.g. the email app. And also, tapping on an '.odt' file also does offer to open the MS Office app either if that one is installed, which does work from other file managers. So I'm pretty sure that this is a problem with the Samsung "My Files" app, not LibreOffice. Closing as NOTOURBUG accordingly.
(In reply to Michael Weghorn from comment #6) > And also, tapping on an '.odt' file also does offer to open the MS Office > app either if that one is installed, [...] That should've read "And also, tapping on an '.odt' file also does **NOT** offer [...]"
(In reply to Michael Weghorn from comment #6) > Correction: '.ods' works for me now, at least after I did an update of the > Samsung "My Files" app to version 10.1.06.661. I *think* I tested before and > it did not work with version 10.0.02.102, but I might be wrong, cannot say > by 100% whether I actually tested... > '.odt' still does not work. Another update: ODS sometimes works, which seems to depend on the "perspective" that is being used in the app, e.g. I can open a specific ODS file when it appears in the "Recent Files" at the top of Samsung's "My Files" app, or when navigating to "Internal Storage" -> "Downloads" and selecting the file there, but not when using "Category" -> "Downloads" on the start screen of the app. I don't have the impression of having understood what circumstances make the app open ODS files or not, but this all IMHO confirms the problem is caused by the Samsung app and not LibreOffice. Other than ODS, ODT files consistently did not work in my tests.
*** Bug 129769 has been marked as a duplicate of this bug. ***
I can confirm that the newer version of Samsung MyFiles does open properly .ods files and the older version did not. The newer version of MyFiles still does not open .odg or .odp files properly as stated above.