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

Bug with ext. URL links in PDF's generated from web page (browser) #4760

Open
soewhaty opened this issue Jan 10, 2025 · 2 comments
Open

Bug with ext. URL links in PDF's generated from web page (browser) #4760

soewhaty opened this issue Jan 10, 2025 · 2 comments

Comments

@soewhaty
Copy link

soewhaty commented Jan 10, 2025

SumatraPDF version

  • Version [3.5.2, 64bit]

Describe the bug
Making a PDF from a web page used to work ok and puts the url of the page at the bottom left corner. So:

  • Internal PDF links to pages in the PDF do work.
  • mailto: links do work too
  • However, the URL where the PDF was made from (usually in the bottom left corner) does not get recognized as a link in v3.5.2, it stays as static text. If I then open this exact same PDF in v3.1.2 64bit, the URL (in the bottom left corner) gets fully recognized as a link and it works just fine so it's clearly a thing to do specifically with v3.5.2.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any URL
  2. Make a PDF of it
  3. Scroll down to any page's bottom right/left corner
  4. See the URL and verify if it acts as a link or not ... in v3.5.2 it doesn't, while in v3.1.2 it does ... same URL same PDF just opening it with 2 different versions of Sumatra .. that's all it takes to see the difference in behaviour

Expected behavior
That URL links at bottom of each PDF's page actually do work as links.

File that reproduces the problem
At random ... i.e. not with all files, so it basically also depends on which URL u make a PDF from, but my point is that at least with v3.1.2 this issue never appeared from any site whereas now with v3.5.2 sometimes it fails.

@soewhaty soewhaty changed the title Bug with PDF links to URLs Bug with ext. links in PDFs generated from web page Jan 10, 2025
@soewhaty soewhaty changed the title Bug with ext. links in PDFs generated from web page Bug with ext. URL links in PDF's generated from web page (browser) Jan 10, 2025
@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Jan 10, 2025

There were changes in URL handling but if it works for some and not others then they must be different and I am "guessing" without a sample different as internally absolute and relative so some secure and some less secure.

Without samples you need to try pre-release as only that versions behaviour can be changed.
As a workaround I have a custom external viewer for when I think 3.1.2 may handle pages differently so shown here.
image

@soewhaty
Copy link
Author

I mean, for now I just switched back to v3.1.2 cos it still covers my needs well. Only reason I upped to the latest version was just to check it out n see what's new but I must admit that v3.1.2 and the versions around that were a touch faster at handling opening/tabbing-thru many many files in the same time so that behaviour I much needed. Another reason why I specifically stuch to v3.1.2 (and am coming back to it now) is cos for some reason closing tabs with mouse middle click would work stop working on some PCs/Screens ... whereas on v3.1.2 this precise behaviour has never caused an issue on any PC/screen/whatsoever ever..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants