You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess this is due to the fact that there is a typo in the link generated by Rocket.Chat.
When hovering over the pdf-filename in the chat the ending of the filename is donwload instead of download which is probably not intended.
Steps to reproduce:
Upload pdf-file to chat.
No pdf preview generated.
Expected behavior:
pdf-preview should be generated correctly.
Actual behavior:
pdf preview not generated.
Server Setup Information:
Version of Rocket.Chat Server: 3.10.5 snap
*Operating System: Debian 10 Buster
Deployment Method: snap with LDAP
Number of Running Instances: 1
DB Replicaset Oplog: Enabled
NodeJS Version: 12.18.4
MongoDB Version: 3.6.14
Client Setup Information
Desktop App or Browser Version: 3.0.1
Operating System: Ubuntu 20.04
tested with up-to-date Vivaldi and Firefox and apps
Additional context
I would kindly like to ask for a possibility to view pdf-files directly in Rocket.Chat which perhaps could be added to a wishlist for further versions.
Hello @aditya-mitra ,
ok! Thanks for pointing that out. So I'll close this issue :)
Do you know if there are plans to fully integrate a pdf-viewer like pdf.js into Rocket.Chat?
Kind regards, Marco
Actually they were integrated in Rocket.Chat in #10519, until they were removed in #12375 and #12632 because they made the client slow and laggy.
However, I will surely try to find out a way which can render the PDF effectively with minimal impact on performance. :D
Activity
aditya-mitra commentedon Mar 12, 2021
Hello @OneTwoBarbecue ,
Actually PDF Preview is disabled - Known Issue#attachment-pdf-preview-is-no-longer-being-rendered
Also you can check PR #12632.
However, I will surely fix the spelling of
download. Thanks for pointing that out 😄Thank you.
OneTwoBarbecue commentedon Mar 14, 2021
Hello @aditya-mitra ,
ok! Thanks for pointing that out. So I'll close this issue :)
Do you know if there are plans to fully integrate a pdf-viewer like pdf.js into Rocket.Chat?
Kind regards, Marco
aditya-mitra commentedon Mar 14, 2021
Actually they were integrated in Rocket.Chat in #10519, until they were removed in #12375 and #12632 because they made the client slow and laggy.
However, I will surely try to find out a way which can render the PDF effectively with minimal impact on performance. :D