libresign icon indicating copy to clipboard operation
libresign copied to clipboard

Allow LibreSign to use Nextcloud Viewer app to visualize PDF files

Open bigbeka opened this issue 10 months ago • 4 comments

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

bigbeka avatar Apr 24 '24 17:04 bigbeka

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

vitormattos avatar Apr 24 '24 18:04 vitormattos

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

bigbeka avatar Apr 24 '24 18:04 bigbeka

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

vitormattos avatar Apr 24 '24 18:04 vitormattos

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

bigbeka avatar Apr 24 '24 18:04 bigbeka