[FEATURE REQUEST] Open downloaded PDF when clicking on it
Is your feature request related to a problem? Please describe. I have several downloaded PDFs in my ownCloud. When I click on them in the file list a new screen opens. It contains:
- PDF icon
- File name
- File metadata like file type, size and date
- A snackbar with "file already downloaded"
Then I have to click on the overflow menu in the action bar and select "open with" to actually open the file in an external app.
Describe the solution you'd like Open the file in an external app when clicking on it. This seems more useful to me then showing some metadata by default.
Additional context As far as I remember my suggested behavior was implemented until it was removed about end of 2022, but I don't remember the exact version anymore.
TASKS
- [ ] Research (if needed)
- [ ] Create branch feature/feature_name
- [ ] Development tasks
- [ ] Implement whatever
- [ ] ...
- [ ] Code review and apply changes requested
- [ ] Design test plan
- [ ] QA
- [ ] Merge branch feature/feature_name into master
PR
- App
- Library (if needed)
Thanks for opening a issue @mueller-ma! As you say, this is something we had and we lost on the way 🤔. We'll check it and try to recover it, I think it makes more sense the way you suggest 👍
I would like to take this.
Go for it @parneet-guraya!
Not sure about the expected behaviour. That means, clicking on the file, it will download (if not) and show the list of available external apps to open, right? same as Open with so, we will no longer show the details view after opening a non-previewable file. IMO, does not make sense to change behaviour only for PDF files.
In fact, i'd check if pdf files could be opened somehow inside the app, since PDF is a very common used format, but this is a different problem.
Opening PDFs inside the ownCloud app fixes the issue for me as well. There're some libraries for that.
same as Open with so, we will no longer show the details view after opening a non-previewable file.
ownCloud could open the app in the default handler (in this case a PDF viewer) when clicking on it in the list. Then add an entry to the context menu called "Details" or similar for the details view.