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

PDF Viewer #69

Closed
3 tasks done
exalate-issue-sync bot opened this issue Jun 8, 2020 · 24 comments
Closed
3 tasks done

PDF Viewer #69

exalate-issue-sync bot opened this issue Jun 8, 2020 · 24 comments
Assignees

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Jun 8, 2020

Description

  • Check the exisiting implementation
    • Implementation is broken
    • Seems that it cannot load the library
  • Identify the missing tasks
  • Research if browser PDF viewer is sufficient
@exalate-issue-sync exalate-issue-sync bot added Exalated This issue is under sync p3-medium story User Story labels Jun 8, 2020
@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

2 similar comments
@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

2 similar comments
@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

@exalate-issue-sync exalate-issue-sync bot added bug Something isn't working OCIS-Sprint-14 and removed story User Story labels Jul 6, 2020
@exalate-issue-sync
Copy link
Author

Remote key is https://jira.owncloud.com/browse/OCIS-46

@LukasHirt
Copy link
Collaborator

LukasHirt commented Jul 7, 2020

The fix is here owncloud/web#3740 but there is still a lot of things that needs to be done with the PDF viewer so I am not sure if this issue should be closed after it gets merged. @micbar ideas?

@LukasHirt LukasHirt self-assigned this Jul 7, 2020
@exalate-issue-sync
Copy link
Author

Michael Barz commented: [~pmaier][~lhirt]
Next step: Identify the missing pieces
Then: Write issues, close this one

@exalate-issue-sync
Copy link
Author

Lukas Hirt commented: I'll keep this issue opened as any follow up issues will depend on if we're going with default browser PDF viewer or with a custom one.

@exalate-issue-sync
Copy link
Author

exalate-issue-sync bot commented Jul 15, 2020

Lukas Hirt commented: I tested the browser PDF viewer in all major browsers (chrome, ff, edge, opera) and IMO it has a few advanteges and few disadvanteges:

Advanteges

  • Less code maintanance on our side
  • Users are not "forced" to use any specific PDF viewer since there are different pdf viewers plugins for browsers or desktop apps which can be integrated into browsers

Disadvanteges

  • The issue with not being able to view/download attachments still persists (https://github.com/owncloud/enterprise/issues/3377)
  • With custom PDF viewer we could introduce some light branding which wouldn't be possible with the browser one
  • I can imagine users opening issues in ownCloud if something goes wrong in their browser which we couldn't really affect
  • Same caveat as with download - we need to fetch the file so if it is a bigger file it could take a while and in this case it's hard to give some feedback to the user about loading (probably would be solved with the pre-signed URLs)

I haven't found any real issues with displaying PDF documents in mentioned browsers. I tried with different types - interactive ones, really big ones and one containing 3D objects and all got displayed. So I guess it only comes to comparing those advanteges and disadvanteges. If you'd know about any specific features that would need to be additionally tested just let me know. Otherwise pls let me know which direction we should start heading with the implementation [~mbarz] [~pmaier] [~pvince81]

@micbar
Copy link
Contributor

micbar commented Jul 15, 2020

@lhirt we have a special feature in our PDF viewer which displays embedded pdf files.
This is heavily used by some customers.

https://github.com/owncloud/enterprise/issues/3377

@LukasHirt
Copy link
Collaborator

@micbar Yes, that's what I meant with The issue with not being able to view/download attachments still persists (owncloud/enterprise/issues/3377). I forgot to write that it's disadvantage only of the browser one.

@LukasHirt
Copy link
Collaborator

Then if it's heavily used by some of the customers I'd say it's decided and we stick with the custom one?

@micbar
Copy link
Contributor

micbar commented Jul 15, 2020

@micbar Yes, that's what I meant with The issue with not being able to view/download attachments still persists (owncloud/enterprise/issues/3377). I forgot to write that it's disadvantage only of the browser one.

Sorry, i overlooked that 😄

@micbar
Copy link
Contributor

micbar commented Jul 15, 2020

Then if it's heavily used by some of the customers I'd say it's decided and we stick with the custom one?

Needs PB decision @pmaier1

@exalate-issue-sync
Copy link
Author

Michael Barz commented: Research has been done - > closing this tickets needs follow up

@PVince81
Copy link

missing statement about decision @micbar

@PVince81 PVince81 reopened this Aug 18, 2020
@pmaier1
Copy link
Contributor

pmaier1 commented Aug 18, 2020

Native fist

  • Easier
  • Has a lot of advatages

Library can come later

@exalate-issue-sync
Copy link
Author

Benedikt Kulmann commented: The pdf viewer app has been removed in owncloud/web#4076 and was replaced with an entry in the file actions context menu named Display PDF. This action just opens the PDF in a new browser tab to utilize native browser behaviour.
[~pmaier] [~mbarz]

@exalate-issue-sync
Copy link
Author

exalate-issue-sync bot commented Sep 21, 2020

Patrick Maier commented: Very nice, thank you! One remark: For other file viewers/editors we used to have an entry "Open in/with XY". Maybe we should go for "Open in Browser" instead of "Display PDF"?

@LukasHirt
Copy link
Collaborator

Implemented in owncloud/web#4076

@exalate-issue-sync
Copy link
Author

Benedikt Kulmann commented: [~pmaier] fixed wording in owncloud/web#4097

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

4 participants