(In reply to WaltS48 [:walts48] from comment #21)
> Error Console messages from 94.0b5:
> 
> 17:17:29.906 TypeError: requestor is null PdfStreamConverter.jsm:140:13
>     getDOMWindow resource://pdf.js/PdfStreamConverter.jsm:140
>     onStopRequest resource://pdf.js/PdfStreamConverter.jsm:1262
> 
> From 95.0a1, where the PDF wants to be saved:
> 
> 17:01:48.260 TypeError: can't access property "getInterface", requestor is 
> null 3 PdfStreamConverter.jsm:140:13
>     getDOMWindow resource://pdf.js/PdfStreamConverter.jsm:140
>     onStopRequest resource://pdf.js/PdfStreamConverter.jsm:1262

This seems to be because the `attachment.contentType` is empty for *new*
attachments instead of `application/pdf` when it is read here
https://searchfox.org/comm-
central/rev/7be97df3877fcaef928606b01d455b2b49d8e9ab/mail/components/compose/content/MsgComposeCommands.js#7610).
After this, the error is the same as Bug 1698140.

Note that if a message is saved and reopened for editing, any saved pdf
attachments will open fine, but any newly added attachments are missing
their `contentType`. ~~I think the missing `contentType` is probably a
recent regression, since I didn't notice this when reviewing this
patch.~~

-- 
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/1945741

Title:
  [upstream] PDF attachment opens in Firefox instead of the built-in
  viewer when opened from the compose window

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

Bug description:
  In Thunderbird 78, you could double click on an attachment you've just
  attached when composing an email. This was very useful, so that you
  could double check that you attached the correct file. In Thunderbird
  91, this doesn't seem to work. When you double click on the
  attachment, nothing happens.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.10
  Package: thunderbird 1:91.1.1+build2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
  Uname: Linux 5.13.0-16-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu69
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  alistair   2076 F.... pulseaudio
  BuildID: 20210916142849
  CasperMD5CheckResult: unknown
  Channel: Unavailable
  CurrentDesktop: Unity:Unity7:ubuntu
  Date: Fri Oct  1 08:44:34 2021
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   # Include files from /etc/network/interfaces.d:
   source-directory /etc/network/interfaces.d
  IncompatibleExtensions:
   Lightning - {e2fda1a4-762b-4020-b5ad-a41df1933103}
   English (GB) Language Pack - langpack-en...@thunderbird.mozilla.org
   Thunderbird (default) - {972ce4c6-7e08-4474-a285-3208198ce6fd}
  InstallationDate: Installed on 2020-07-14 (443 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  IpRoute:
   default via 172.30.3.254 dev wlp0s20f3 proto dhcp metric 600 
   10.0.0.0/24 dev wg0 proto kernel scope link src 10.0.0.2 
   169.254.0.0/16 dev wg0 scope link metric 1000 
   172.30.0.0/22 dev wlp0s20f3 proto kernel scope link src 172.30.0.92 metric 
600
  PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/thunderbird/omni.ja:greprefs.js:359
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=91.1.1/20210916142849 (In use)
  RebootRequiredPkgs: Error: path contained symlinks.
  RunningIncompatibleAddons: True
  SourcePackage: thunderbird
  UpgradeStatus: Upgraded to impish on 2021-09-24 (6 days ago)
  dmi.bios.date: 06/21/2021
  dmi.bios.release: 1.19
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N2WET29W (1.19 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20U9CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0R32862 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.ec.firmware.release: 1.8
  dmi.modalias: 
dmi:bvnLENOVO:bvrN2WET29W(1.19):bd06/21/2021:br1.19:efr1.8:svnLENOVO:pn20U9CTO1WW:pvrThinkPadX1CarbonGen8:skuLENOVO_MT_20U9_BU_Think_FM_ThinkPadX1CarbonGen8:rvnLENOVO:rn20U9CTO1WW:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad X1 Carbon Gen 8
  dmi.product.name: 20U9CTO1WW
  dmi.product.sku: LENOVO_MT_20U9_BU_Think_FM_ThinkPad X1 Carbon Gen 8
  dmi.product.version: ThinkPad X1 Carbon Gen 8
  dmi.sys.vendor: LENOVO

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to