nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.25k stars 1.76k forks source link

Improving workflow of opening editable document files through Android app #6267

Open pilsnerbeer opened 4 years ago

pilsnerbeer commented 4 years ago

Is your feature request related to a problem? Please describe.

Wanting to open a .xlsx or .doc (or similar) file using locally installed Android application is not possible without manually downloading it first (via menu->download) if ONLYOFFICE is present on the server. Proof of that is the option "Open with" (as seen on picture below) is missing from the menu if the file isn't locally present on the device (in other words, it is only possible to open the document using onlyoffice document server). However, after locally downloading said file to the device, it is no longer possible to open it using the document server (clicking the file now will not prompt for opening it through document server tool anymore, but instead show locally available tools for interacting with the file). To be able to do that, one must delete the file locally first and then proceed with opening the file by tapping it.

Describe the solution you'd like

Additional context

Screenshot_1

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

AndyScherzinger commented 4 years ago

cc @tobiasKaminsky @jancborchardt for feedback

jancborchardt commented 4 years ago

"open with" option under menu should be visible at all times. Tapping it will download the file and show available programs which can be used to open the file, saving user confusion of having to manually download the file first.

Sounds good! :)

for locally downloaded document files, a menu item should be visible "open with Collabora Online" if server supports it.

To keep stuff consistent here too (and also to not overload the menu), a simple tap on the file should continue to open it with the office suite installed on the server, whether the file is available offline or not. As this offers collaboration features and real-time editing with multiple people. If there is no office suite installed on the server this should of course be caught and could fall back to the "Open with" action.

pilsnerbeer commented 4 years ago

Thanks for your thoughts. Today I also discovered it actually is possible to edit documents using collabora whether they are available offline or not through "Edit" option on the menu (visible in picture I posted in the issue). So the second point of my suggestion list is in fact already implemented and it is exactly what I had in mind so there's no problem whatsoever.

thebearon commented 4 years ago

To keep stuff consistent here too (and also to not overload the menu), a simple tap on the file should continue to open it with the office suite installed on the server, whether the file is available offline or not. As this offers collaboration features and real-time editing with multiple people. If there is no office suite installed on the server this should of course be caught and could fall back to the "Open with" action.

@jancborchardt, is it sufficient to have a one-fits-all solution in case when both server editor and local editor is available? Or would a setting in the client where the user can set the default way of opening files (on server or locally, perhaps even down to the app) also be reasonable?