Closed Bug 1427380 Opened 7 years ago Closed 1 year ago

Keyboard shortcut for printing is throwing a warning message

Categories

(Core :: Printing: Output, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox57 --- affected
firefox58 --- affected
firefox59 --- affected

People

(Reporter: StefanG_QA, Unassigned)

Details

Mozilla/5.0 (Windows NT 10.0; rv:59.0) Gecko/20100101 Firefox/59.0 (20171229100308) Make sure to add the following pref: print.print_via_pdf_encoder : skia-pdf 1. Open this *.html sample file. (https://drive.google.com/file/d/0BzOV3ybvBASXR3RXaGRQczRSYnM/view ) 2. Press Ctrl + P 3. Print preview the page 4. Print it. 5. Compare the page with the actual document AR: error is shown when using short cut ctrl+p to print preview the page Video Showing the issue: https://St3fQA.tinytake.com/sf/MjE5NzIxNV82ODE3MTQ4 ER: No Warning message
Blocks: 1399787
Assignee: nobody → cku
I can reproduce this symptom on ALL platforms with ALL Firefox builds. This is not a regression caused by our feature. Stefan, could you confirm?
Assignee: cku → nobody
Flags: needinfo?(stefan.georgiev)
Priority: -- → P2
I can confirm I can reproduce this on different Firefox builds. I've used mozregression in order to narrow down the issue. Here are my findings: Last good revision: 201b30adaf89493e1fdd200a4ce9172bb905a33d First bad revision: 1f83a9089442610aee9e2865cd6bc508bda35f11 Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=201b30adaf89493e1fdd200a4ce9172bb905a33d&tochange=1f83a9089442610aee9e2865cd6bc508bda35f11
Summary: [PDFium] Keyboard shortcut for printing is throwing a warning message → Keyboard shortcut for printing is throwing a warning message
Flags: needinfo?(stefan.georgiev)
I looked into this a little bit. Google Drive hook the keyboard event (If the user pushes the ctrl + p, Google Drive will open this document as PDF), then a script will call the window.print(). Gecko will try to print this PDF as well due to ctrl + p. However, this document doesn't load yet. So gecko will display the alert dialog. In any case, this is no longer block to the bug 1399787.
No longer blocks: 1399787
OS: Windows → All
Severity: normal → S3

Unable to reproduce this issue in our latest Build 132.0a1 (2024-09-22), closing as Works for me for now and will reopen if it starts to reoccur.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.