LibreSign / libresign

✍️ Nextcloud app to sign PDF documents
https://libresign.coop
GNU Affero General Public License v3.0
446 stars 50 forks source link

Allow LibreSign to use Nextcloud Viewer app to visualize PDF files #2885

Open bigbeka opened 2 months ago

bigbeka commented 2 months ago

Describe the bug When "View" is clicked on Verification page, the PDF preview is 1/50th size of the whole window on Safari. PDF preview should expand to full width of the safari window. Chrome expands the PDF preview to full width correctly.

Screenshot 2024-04-24 at 19 47 21
vitormattos commented 2 months ago

This is not about LibreSign. This is the PDF visualizer of your browser.

bigbeka commented 2 months ago

But other PDFs in Safari's preview open up full width. Maybe allow LibreSign to use NC's native PDF viewer?

Below screenshot is when I open a PDF from the list of Files in Safari, NC opens in natively.

But when I click on "Validation > View", the PDF opens up in a separate tab with Safari's PDF preview. I have never experienced such small size PDF preview on Safari.

Screenshot 2024-04-24 at 20 06 10
vitormattos commented 2 months ago

The PDF viewer of Nextcloud don't use the native viewer.

allow LibreSign to use NC's native PDF viewer?

This could be a good idea. Maybe we can change the subject of this issue to Allow LibreSign to use Nextcloud Viewer app

bigbeka commented 2 months ago

Perfect, enabling Nextcloud's native viewers app will resolve the compatibility issue. Changes the subject to your proposed one.