Closed Bug 1650387 Opened 5 years ago Closed 5 years ago

"Print to File" should have a meaningful default filename

Categories

(Firefox :: Untriaged, enhancement)

77 Branch
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 155992

People

(Reporter: sexxxenator, Unassigned)

References

Details

Attachments

(1 file)

Attached image savedlg.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/82.0.4080.0 Safari/537.36 Edg/82.0.453.0

Steps to reproduce:

  • Go to any webpage
  • Hit Ctrl-p or Menu > Print
  • Select "Print to file"

Actual results:

The proposed filename is the last filename used or "mozilla.pdf" by default

Expected results:

The proposed filename should be related to the page being printed. e.g. the <head><title>, or <meta property "og:title">, or maybe the first <H1> or even the first "words" that appears in the page?

This is what tools like MS Word or Google Docs do when faced with a new document with no name. This is very useful and very relevant. This also allows for batch saves.

The current behaviour is:

  • very dangerous (overwrite previous content)
  • very annoying (manually copy the title)

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Hi,

This issue is the same with the following: https://bugzilla.mozilla.org/show_bug.cgi?id=155992 , so I will mark this accordingly as duplicate.

Thanks for your report.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
See Also: → 720422, 1419379, 1013926, 1577827
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: