Closed Bug 1889252 Opened 1 year ago Closed 1 year ago

Links aren't clickable in Google Doc print-to-PDF output (using native gsuite printing)

Categories

(Core :: Printing: Output, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1892816

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(3 files)

STR:

  1. Be using a Google account that's opted in to the "native" print flow (which requires manual action from some Google folks for now), or using UA spoofing to pretend you're Chrome.
  2. Load a Google Doc that has a link, e.g. this one:
    https://docs.google.com/document/d/16aHywCCQpb5FV43DzFXnWDIWFAvL0U2slJPaeRhiERQ/edit?usp=drive_link
  3. Ctrl+P
    (Hopefully this triggers a print-preview popup. If it doesn't, go back to step 1.)
  4. Click through Firefox's print UI to choose the "Save to PDF" print target and go ahead and save it.
  5. Load the resulting PDF in a PDF viewer, and try to click the link.

ACTUAL RESULTS:
The link isn't clickable/hyperlinked.

EXPECTED RESULTS:
The link should be clickable/hyperlinked.

(This might really be a server-side bug on the Google Docs side, similar to bug 1865200, where they're not doing all the right things to get the link to be clickable in mozPrintCallback; I'm not entirely sure. Possibly worth trying to fix before we get Google Docs native print support shipped -- or as a followup item -- because clickable links in docs can be pretty important, and losing the URL entirely is a form of dataloss that's not immediately obvious but can be quite annoying when you run up against it.)

Here's the PDF (with a working clickable link) that's generated by the existing server-side gsuite printing flow that our users get right now.

Attachment #9394664 - Attachment description: PDF generated from Firefox's print dialog (showing the bug; link isn't clickable) → bug: PDF generated from Firefox's print dialog (link isn't clickable)
See Also: → 1889491
Depends on: 1892816

The patch for bug 1892816 seems to fix this bug too.

Daniel, can we dup this to bug 1892816?

Flags: needinfo?(dholbert)

Sure - I confirmed that the STR seem to give the expected results in Nightly 127.0a1 (2024-04-25). Thanks!

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1892816
Flags: needinfo?(dholbert)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: