(In reply to Stewart Gordon from comment #21)
> (In reply to kaz from comment #16)
> > The document is rendered such that the links look like links: they are 
> > rendered in blue, and underlined.
> 
> This is handled by CSS.  In order to not have links highlighted, there would 
> need to be a CSS rule specified as @media print, either in the webpage CSS or 
> in the default stylesheet.

Well, let's see. It's not going to be handled in the web page CSS, is
it.

Because the web page author doesn't care that you're using Firefox to
save the page as PDF, and that it happens to strip hyperlinks of their
functionality while retaining their styling.

Maybe the save-to-PDF feature should pull a piece of CSS from behind the
magic curtain, and apply it to de-style the links that it has no
intention of making work.

> > If you're not going to make it work, the least you could do is not fake the 
> > appearance, you know? Would it be difficult to pop up a dialog box or 
> > something?
> > 
> >   "this document contains hyperlinks; these will not work           [Save 
> > PDF Anyway]   [Cancel]"
> 
> Given that nearly all web pages have hyperlinks, I think that would look 
> somewhat ridiculous, and annoy a user who is creating PDFs of several 
> webpages. 

It was not my intent to design the exact UI in my comment, and still
isn't; but can we pretend I had included the obligatory  "[ ]  don't
show me this dialog again".

> Furthermore, I'm not sure if it's possible to detect if the user has
selected 'Save as PDF' under macOS, or is using a PDF printer driver
under any OS.

I'm pretty sure this entire bug is not about using a "PDF driver under
any OS" but saving a PDF from Firefox to a file.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/1551949

Title:
  Printing to PDF file loses URLs/links

Status in Mozilla Thunderbird:
  Confirmed
Status in thunderbird package in Ubuntu:
  Confirmed

Bug description:
  Steps to reproduce:

  1. File -> Print...
  2. Select "Print to File".
  3. Enter the file name.
  4. Enter the save-to folder.
  5. Leave the output format as-is, or select PDF if it's not the default.
  6. Hit the Print button.
  7. Open the resulting PDF in any PDF viewer.

  
  Actual results:

  The URLs within the document are not actually hyperlinks.  They are
  simply text, coloured blue and underlined.

  
  Expected results:

  Any clickable links on the original e-mail message should be retained
  when converting the document to PDF format.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: thunderbird 1:38.5.1+build2-0ubuntu0.15.10.1
  ProcVersionSignature: Ubuntu 4.2.0-30.35-generic 4.2.8-ckt3
  Uname: Linux 4.2.0-30-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  colan      2383 F.... pulseaudio
   /dev/snd/controlC0:  colan      2383 F.... pulseaudio
  BuildID: 20160106101030
  Channel: Unavailable
  CurrentDesktop: Unity
  Date: Tue Mar  1 15:53:53 2016
  EcryptfsInUse: Yes
  ExecutablePath: /usr/lib/thunderbird/thunderbird
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  IpRoute:
   default via 192.168.1.1 dev wlan0  proto static  metric 600 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.140  
metric 600
  Locales: extensions.sqlite corrupt or missing
  MostRecentCrashID: bp-1abc004a-043e-4a15-bdc0-45ade2150908
  Plugins:
   Google Talk Plugin Video Renderer - /opt/google/talkplugin/libnpo1d.so 
(google-talkplugin)
   Google Talk Plugin - /opt/google/talkplugin/libnpgoogletalk.so 
(google-talkplugin)
   iTunes Application Detector - 
/usr/lib/mozilla/plugins/librhythmbox-itms-detection-plugin.so 
(rhythmbox-mozilla)
   Shockwave Flash - /usr/lib/adobe-flashplugin/libflashplayer.so 
(adobe-flashplugin)
  ProcEnviron:
   LANGUAGE=en_CA:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_CA.UTF-8
   SHELL=/bin/zsh
  Profiles: Profile0 (Default) - LastVersion=38.5.1/20160106101030 (In use)
  RelatedPackageVersions:
   google-talkplugin 5.41.0.0-1
   rhythmbox-mozilla 3.2.1-1ubuntu3.1
   adobe-flashplugin 1:20160209.1-0ubuntu0.15.10.1
  RunningIncompatibleAddons: False
  SourcePackage: thunderbird
  SubmittedCrashIDs:
   bp-1abc004a-043e-4a15-bdc0-45ade2150908
   bp-c8c94f9f-0c39-42d2-97ac-f2c7d2150713
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: Upgraded to wily on 2015-11-30 (92 days ago)
  dmi.bios.date: 07/09/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.5
  dmi.board.asset.tag: Tag 12345
  dmi.board.name: Galago UltraPro
  dmi.board.vendor: System76, Inc.
  dmi.board.version: galu1
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 9
  dmi.chassis.vendor: System76, Inc,
  dmi.chassis.version: galu1
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd07/09/2013:svnSystem76,Inc.:pnGalagoUltraPro:pvrgalu1:rvnSystem76,Inc.:rnGalagoUltraPro:rvrgalu1:cvnSystem76,Inc,:ct9:cvrgalu1:
  dmi.product.name: Galago UltraPro
  dmi.product.version: galu1
  dmi.sys.vendor: System76, Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1551949/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to