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

Downloaded Office files cannot be opened in Nextcloud Office #12039

Open
4 tasks done
thgoebel opened this issue Oct 15, 2023 · 13 comments
Open
4 tasks done

Downloaded Office files cannot be opened in Nextcloud Office #12039

thgoebel opened this issue Oct 15, 2023 · 13 comments

Comments

@thgoebel
Copy link
Contributor

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Download an Office file (doc/sheet/presentation) via ... > "Download". (aka "Set as available offline"). Let's call it test.ods.
  2. Click on the test.ods to open it

Expected behaviour

The file should open in Nextcloud Office/Collabora.
Or at least it should give me the option between Nextcloud Office and locally installed apps.

Actual behaviour

The test.ods attempts to be opened with a locally installed app.
In my case, the two apps that are offered are Termux and a plaintext Notes app.

Even if this is the expected behaviour - it is confusing to the user and there should be clearer guidance (= an option to choose).

Android version

Android 13

Device brand and model

OnePlus 5

Stock or custom OS?

Custom (explain in "additional information")

Nextcloud android app version

3.26.0

Nextcloud server version

27.1.2

Using a reverse proxy?

Yes

Android logs

n/a

Server error logs

n/a

Additional information

As a workaround, I can delete the downloaded file (... > Delete > Local only). After that, the test.ods opens in Nextcloud Office again.

@joshtrichards
Copy link
Member

If you click on the three dots menu for that file you should have an Edit option. Does that still open it in the embedded (server-side) Nextcloud Office in the way you'd expect?

@thgoebel
Copy link
Contributor Author

Yes, Edit opens in the embedded Nextcloud Office as expected.

Hm, so not a bug, I just didn't understand the UX. Close this?

@joshtrichards
Copy link
Member

Well, there might be room for improving the user experience. I'll leave it open for the moment.

@lckarssen
Copy link

What if I don't see an "Edit" option in the ... menu? I'm using the Dutch translation, so the name might be different. I do see an option that would translate to "Open with...", but if I select that, I get the same selection box (allowing to choose a local app) as I get when simply selecting the downloaded file in the first place.

@joshtrichards
Copy link
Member

Hmm. For the action_edit translation it looks this:

<string name="action_edit">Bewerken</string>

@lckarssen
Copy link

lckarssen commented Oct 15, 2023

Thanks. That is indeed the correct translation (and the text I would expect). I don't see "Bewerken" in my list. Given that I (thought I) was affected by #11979 (but setting the mobile_editing to yes didn't help), I might be having a different issue than either #11979 or this #12039 🤔.

Scratch that, I forgot to try and scroll through the menu. 😊 The "Edit" option is present. Using it does open the remote editor.

@thgoebel
Copy link
Contributor Author

For me "Edit" is the very first option at the top. Files Android 3.26.0.

@lckarssen
Copy link

Thanks @thgoebel, I just figured out I should have scrolled up 🤦.

@GNU-Plus-Windows-User
Copy link

I have the same issue as well but I do not have an edit option
I'm using the f-droid version

@RealPeterPan
Copy link

I have the same issue as well but I do not have an edit option I'm using the f-droid version

Same for me, no edit Option in the contests menu.
That is in f-droid Version (3.25)
as well as playstore Version (3.26)
The Edit Option disapeared during this weekend. Last week it still worked Fine.

@lckarssen
Copy link

🤔 Hmm... Maybe my first comment wasn't (initially) incorrect then. Maybe the "Edit" option was indeed missing at first. I have just tested with accounts on two different Nextcloud servers on the same S22 phone as before. Neither of those show an "Edit" option in the dots menu for the .odt file I used for testing. And neither of the two accounts opened the remote editor when simply "clicking" on the file.

Both servers run Nextcloud 27.1.2 and Nextcloud Office app 8.2.0 with CODE running on a separate VM.

@GNU-Plus-Windows-User
Copy link

The recent update to richdocuments fixed this issue for me

@ostasevych
Copy link

ostasevych commented Oct 29, 2023

I am getting the similar situation using OnlyOffice. So, if I click over the file which is NOT saved locally it is opened in the embedded OnlyOffice. However, if the file is synced (there's a green tick), the Nextcloud app suggests to open the file with installed apps (eg Google Sheet, Printiing app and others).

Let's say I select and click Google Spreadsheet, and the document is not opened, instead of I see a very confusing message:

Couldn't open the document
The document is not available in the offline mode. Use the Offline availability option in the file menu

Normally this should not happen. Why the file cannot be opened with the local app, if it is already on my local device?

Of course, if I click three-dots and click Edit, the file will be opened in the embedded OnlyOffice.

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

No branches or pull requests

6 participants