Bug 133245 - Collabora Office Android 9 opens file read only from Samsung My Files, R/W OK from Collabora file browser.
Summary: Collabora Office Android 9 opens file read only from Samsung My Files, R/W OK...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Editor (show other bugs)
Version:
(earliest affected)
4.2.3.3 release
Hardware: ARM Android
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-21 19:48 UTC by Glenn Talbott
Modified: 2022-11-27 19:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Talbott 2020-05-21 19:48:07 UTC
Description:
When I select a Microsoft Office file (tested on .docx & .xlsx) from the Samsung file browser (My Files app), the correct Collabora app is launched but the file is opened read only. If I select the file from the Collabora file browser (folder icon) everything is OK.

This is on a Samsung Galaxy Tab S5e (SM-T720) running Android 9.0. Collabora Office 4.2.3 from Google Play Store

Steps to Reproduce:
1.Use My Files to browse for .xlsx file
2.Tap on file name
3.

Actual Results:
Collabora App for spreadsheet is opened, file is loaded, Read-Only warning flashes at bottom of screen, unable to edit file, no blue pencil edit icon appears.

Expected Results:
Collabora App for spreadsheet is opened, file is loaded, blue pencil edit icon appears, after tapping blue pencil icon I am able to edit and then save file.


Reproducible: Always


User Profile Reset: No



Additional Info:
Collabora Office
This version of Collabora Office is powered by
LOOLWSD
4.2.3 (git hash aa5749c5)
LOKit
Collabora Office 6.2-11 (git hash aa5749c)
Copyright (c) 2020, Collbora
Comment 1 Aron Budea 2020-06-01 03:45:28 UTC
Confirmed, thanks for reporting!
Comment 2 GS 2020-11-12 20:23:30 UTC
Confirm same behavior (for .ods files as well).

Samsung Galaxy S9 (SM-G960U)
Android 10
Collabora Office 4.2.11
Comment 3 Steve 2020-11-26 16:31:25 UTC
Same behaviour on Samsung Galaxy Tab S5e (SM-T720) running Android 10 Collabora Office 4.2.11

I found it opens for read-write using the File Manager + app
Comment 4 QA Administrators 2022-11-27 03:38:06 UTC Comment hidden (obsolete)
Comment 5 Glenn Talbott 2022-11-27 19:25:13 UTC
I got an e-mail from bugzilla requesting I re-verify this bug with the latest version of LibreOffice (Collabora Office Android). Here are the results:

1. As I no longer have Android 9, I retested Collabora version 4.2.3.3 in Android 11. I found the opening a MS Office file (or a .ods file) from "My Files" still opens the file read-only. HOWEVER, opening it from Collabora file browser ALSO opens the file read-only, but with out a read-only warning.

2. I installed Collabora version 21.11.6.1 from the Google Store, and found that opening MS Office files from both "My Files" and the Collabora file browser the files are opened read-only, with warning but the blue Edit button is now visible. Attempting to edit, gives you a file selection menu to create and save a copy for editing.

Since the operation between "My Files" and the Collabora browser is now consistant (sub optimal, but consistant), and a Google search shows that the "open read-only" problem for MS Office and ODT/ODS files has spread beyond Collabora to other Android apps and beyond Android to ChromeOS, I'm going to assume there isn't much the LibreOffice developers can do about it. Therefore I am marking the status as RESOLVED - WORKSFORME as requested.
Comment 6 Aron Budea 2022-11-27 19:28:44 UTC
Thanks for retesting and for the feedback, Glenn!