Jump to content

Recommended Posts

Posted

I created the endnotes in Publisher v1 manually. It was a real pain as you can imagine. So thank goodness v2 has the Notes capability. I have found a bug however. When the note includes a URL that spans lines, the hyperlink is truncated to the first line. See screenshot.

I've titled this topic "Possible bug" because it could be something I'm doing wrong of course.

Screenshot 2023-03-22 at 20.45.26.png

Posted
6 hours ago, psheld said:

I created the endnotes in Publisher v1 manually. It was a real pain as you can imagine. So thank goodness v2 has the Notes capability. I have found a bug however. When the note includes a URL that spans lines, the hyperlink is truncated to the first line. See screenshot.

I've titled this topic "Possible bug" because it could be something I'm doing wrong of course.

Screenshot 2023-03-22 at 20.45.26.png

This isn't an Affinity bug, this is Apple Preview being super unhelpful in trying to detect hyperlinks. It will happen to any PDF including ones generated by Apple's own apps such as Pages. Just ignore it and if you want to test the link click on the second line, not the first. Or use a different PDF viewer.

Posted

Thanks @MikeTO.

I have now opened the same PDF in Firefox and Chrome. None of the links are clickable in Firefox. The same thing happens in Chrome as happens in Mac Preview.

Posted

Actually, it appears results vary for Chrome. It looks as if links that span multiple lines and break at a forward slash, a question mark, or underscore are malformed, i.e. Chrome thinks the hyperlink is described only by the first line. If the line breaks at a hyphen, the link works as expected.

The links are entirely dead in Firefox though as reported. Let me try Safari. Perhaps unsurprising, Safari suffers the same odd behaviour as Mac Preview.
 

Posted
6 hours ago, psheld said:

Thanks @MikeTO.

I have now opened the same PDF in Firefox and Chrome. None of the links are clickable in Firefox. The same thing happens in Chrome as happens in Mac Preview.

If none of the links are clickable in another PDF viewer, are you sure you clicked the Include Hyperlinks checkbox when exporting that time? It's very easy to miss.

6 hours ago, psheld said:

Actually, it appears results vary for Chrome. It looks as if links that span multiple lines and break at a forward slash, a question mark, or underscore are malformed, i.e. Chrome thinks the hyperlink is described only by the first line. If the line breaks at a hyphen, the link works as expected.

I can't duplicate any issues. Here are PDFs exported from Affinity and Apple Pages using the URL of this thread. Both are valid PDFs with links spanning multiple lines. Preview does it thing to both of them, mucking up the first line, but clicking on any line other than the first will work. Both work fine in Chrome and in Acrobat.

affinity.pdfpages.pdf

Posted

Thanks @miketo for investing the time to help me here. The morsel I needed from your last comment is:

Quote

are you sure you clicked the Include Hyperlinks checkbox when exporting that time? It's very easy to miss.

It is indeed very easy to miss to the point I didn't even know about it! When I tick it, everything works a treat, even in Preview. Thank you 🙏🏼

I guess Firefox wasn't rendering any links because there weren't any. And the behaviour I saw in Chrome must have been its partial success in interpreting some strings as URLs and making them hyperlinks accordingly; at least that's my guess.

I haven't done as much thinking about the use cases of Publisher as those who design it, obviously! But I'm intrigued. When would someone wish to export a document that has hyperlinks so that the PDF renders the string of the URL but does not render them clickable?!

Posted
8 minutes ago, psheld said:

I haven't done as much thinking about the use cases of Publisher as those who design it, obviously! But I'm intrigued. When would someone wish to export a document that has hyperlinks so that the PDF renders the string of the URL but does not render them clickable?!

It makes no sense to have clickable links in a printed document. So that setting defaults to off when you're exporting a PDF using the For Print preset, for example.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.3.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

Really? If I export a PDF that has clickable links, then the very process of printing makes them unclickable on paper! I don't need to turn them off for export. Do I?!

Posted
6 minutes ago, psheld said:

Really? If I export a PDF that has clickable links, then the very process of printing makes them unclickable on paper! I don't need to turn them off for export. Do I?!

You don't need to, but as they are meaningless the option is automatically disabled.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.3.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Posted

And so, with due respect, I still don't know of a use case requiring the export of URLs that aren't clickable. And if there is such a use case, perhaps it would still be preferable to have a corresponding checkbox default to enabled rather than disabled.

Ah hang on. Just thought of something. Does this box change the formatting of the links on export? Perhaps omitting an underline if one is otherwise used in the Publisher doc for hyperlinks?

Posted
2 minutes ago, psheld said:

I still don't know of a use case requiring the export of URLs that aren't clickable.

May be smaller file sizes. Or just legacy, I think there was no clickable URL in the original PDFs.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted
10 minutes ago, psheld said:

Ah hang on. Just thought of something. Does this box change the formatting of the links on export? Perhaps omitting an underline if one is otherwise used in the Publisher doc for hyperlinks?

I believe turning off hyperlinks in InDesign changes their appearance but not in Publisher at this time. Perhaps someday.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.