Bug 129348 - Can't open files (new and existing) using the android app
Summary: Can't open files (new and existing) using the android app
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: ARM Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-12 17:19 UTC by Nicolas Christener
Modified: 2020-02-17 15:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Message that shows up (60.17 KB, image/png)
2019-12-12 17:20 UTC, Nicolas Christener
Details
Version information from the Google Play store (141.20 KB, image/png)
2019-12-12 17:20 UTC, Nicolas Christener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Christener 2019-12-12 17:19:07 UTC
Description:
Since the last update (today, 2019-12-12) I can't open any files using the android app anymore.

I get the following message:
Failed to load the document. Please ensure the file type is supported and not corrupted, and try again.

Steps to Reproduce:
1. Open a file using the android app

Actual Results:
The error message as stated avobe appears.

Expected Results:
The app should open the file.


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested on Android 8.1.x

Language setting English (Switzerland).

Local files (no Nextcloud or whatsoever)
Comment 1 Nicolas Christener 2019-12-12 17:20:03 UTC
Created attachment 156518 [details]
Message that shows up
Comment 2 Nicolas Christener 2019-12-12 17:20:47 UTC
Created attachment 156519 [details]
Version information from the Google Play store
Comment 3 Jan Holesovsky 2019-12-13 13:20:45 UTC
Nicolas: Terribly sorry about that - but I cannot see the crash here :-(  Please do you think you could get me the logcat from the device when the crash appears?

https://developer.android.com/studio/command-line/logcat

Thank you very much in advance!
Comment 4 Nicolas Christener 2019-12-20 06:37:57 UTC
Kendy: I found the culprit :)

It's a language issue. I set my Android device to "English (Switzerland)" - this triggers the issue.

Changing the primary language to e.g. "German (Switzerland)" immediately makes the app work again.

Hope this helps to resolve the issue.

All the best,
Nicolas
Comment 5 Tom Szilagyi 2020-01-12 12:28:59 UTC
I have the same problem. This is the first time I wanted to try the Android app for opening files on my Nextcloud (set up with Collabora Online, working perfectly via desktop browser). I just installed the latest version of this app from Google Play.

Clicking on the document in the Nextcloud app on Android, I get the popup asking whether I want to open it with Google Docs or Collabora Office beta. I choose the latter, and then I get the exact same message as originally reported and attached.

I also tried creating a new document from scratch in the app, thinking that it might be an issue with my Nextcloud integration. And maybe even the document, as I have migrated those from Google Sheets into LibreOffice documents.

Alas, even creating a local document (I chose the spreadsheet as that is what I want to use) has failed in the exact same way.

Phone: Moto G5 Plus (XT1685)
Android: 8.1.0
Language preferences: 1 English(Sweden), 2 Magyar(Magyarország) 3 Svenska(Sverige)

I would like to keep my language settings intact on my phone, please let me know if there is anything else I can do to work around this.

Thank you in advance!
Comment 6 Xisco Faulí 2020-02-17 15:18:21 UTC
Moving to NEW
@Nicolas, is this issue still reproducible with the latest Android build ?
Comment 7 Nicolas Christener 2020-02-17 15:20:56 UTC
@xisco: the issue was fixed by @kendy and the latest release (at least the one in the beta channel) works fine. This issue can be closed in my opinion.

Thanks @xisco for the house keeping!

And thanks a lot to the Collabora team and especially Kendy for fixing the issue!
Comment 8 Xisco Faulí 2020-02-17 15:27:59 UTC
Closing then.