PDF Title Not Showing on PDF Preview
Reported by
stephani...@gmail.com,
Nov 17 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36 Steps to reproduce the problem: 1. Open the attached PDF in Chrome. 2. Notice that the title is now showing (see screenshot). 3. Title can clearly be seen in the PDF's properties. What is the expected behavior? Title of the PDF should show rather than the file name. What went wrong? PDF file name showing instead of the PDF title. Did this work before? No Chrome version: 54.0.2840.98 Channel: stable OS Version: OS X 10.12.1 Flash Version: Shockwave Flash 23.0 r0 This doesn't happen with all PDFs, but the PDF attached is an exception.
,
Nov 17 2016
,
Nov 17 2016
The title is in some XML structure in the attached PDF. IIRC, other PDFs have it in a simpler PDF dictionary structure. As is, the PDF plugin asks PDFium for the title, but most likely PDFium does not know how to parse the XML structure, and it just shrugs and says no title. In which case, the PDF plugin falls back to the file name.
,
Nov 18 2016
If it helps, I'm attaching a PDF that is correctly showing the title in Chrome and is nearly identical to the PDF that is not working and attached to this issue. When viewing the XML (exporting to XML 1.0 through Adobe Acrobat) the XML is nearly identical (even the titles) between the two PDFs, except for understandable attributes such as ModifyDate, CreateDate, and Producer. Due to this, it makes me question whether or not XML parsing is the issue here.
,
Nov 20 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 20 2017
This was https://bugs.chromium.org/p/pdfium/issues/detail?id=664 and is already fixed in stable.
,
Nov 20 2017
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by ligim...@chromium.org
, Nov 17 2016Labels: -Pri-2 M-54 Needs-Bisect Needs-Triage-M54 Pri-1