New issue
Advanced search Search tips

Issue 782041 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Print-to-PDF suggests nonsensical filename

Project Member Reported by hirshleifer@google.com, Nov 7 2017

Issue description

Chrome Version: (copy from chrome://version) 62.0.3202.75 (Official Build) (64-bit)
OS: (e.g. Win7, OSX 10.9.5, etc...) Ubuntu Trusty

What steps will reproduce the problem?
(1) Go to data:text/html,<title>someone@example.com
(2) Press Ctrl-S and observe the suggested filename
(3) Press Ctrl-P and select to save as PDF
(4) Click Save and observe the suggested filename

What is the expected result?
The print-to-PDF filename is "someone@example.com.pdf" to match the format of the Save suggested filename (someone@example.com.html).

What happens instead?
The print-to-PDF filename is "someone@example.pdf", unnecessarily mangling the title.

 
Owner: thestig@chromium.org
Status: Assigned (was: Untriaged)
Oh, the code that interacts with the file dialog decided .com is a file extension.
Status: Fixed (was: Assigned)
Thanks for filing the bug to provide extra motivation to fix this.
Cc: rbpotter@chromium.org
 Issue 445233  has been merged into this issue.

Sign in to add a comment