Closed Bug 692418 Opened 14 years ago Closed 8 years ago

Print error is triggered the first time when attempting to print a yahoo mail message

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: virgil.dicu, Unassigned)

References

Details

(Whiteboard: [8b2] [platform-rel-Yahoo!])

Attachments

(2 files)

Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Mozilla/5.0 (X11; Linux x86_64; rv:10.0a1) Gecko/20111004 Firefox/10.0a1 Reproducible on all platforms. Found on Firefox 8 Beta 2 Printing a yahoo mail message using the message Print button triggers a Print Error message: "There was a problem printing most likely caused by a pop-up blocker. Please click Try Again." and the Firefox pop-up notification (Firefox prevented this site from opening a pop-up window) is displayed. Selecting Try Again or dismissing the dialog and selecting the Print button again opens the print preview pop-up from yahoo. Steps To reproduce: 1. log in to yahoo mail (www.mail.yahoo.com) 2. Open a mail message. 3. Select the Print button from within the yahoo mail message. Actual result: a Print Error message is displayed Workaround: Dismissing the dialog and trying again displays the yahoo print preview pop-up. Expected results: No error message should be displayed when selecting Print. Issue reproducible on Firefox 4 too.
Whiteboard: [8b2]
This is a popup blocker issue, not a printing issue, right? A testcase would be most helpful, for those of us without yahoo mail accounts...
Component: Printing: Setup → DOM
QA Contact: printing.setup → general
Confirmed. I hadn't logged into Yahoo Mail for a while -- in the initial AJAXish mail UI that I got, I couldn't reproduce. Switched to "Yahoo Mail Classic", still couldn't reproduce. Then I clicked a link for "Switch to the newest Yahoo Mail", had to click through an "accept our new privacy terms" dialog, and *then* I got a *newer* AJAXish interface -- and at that interface, I can reproduce this. I do get a notification bar saying "Firefox prevented this site from opening a popup window", though. If I click that bar and select "Allow popups from [domain]", then the next time I hit the Print button, it works -- I get a popup window with print-formatted content, with a "Print" link at the top of it, which successfully triggers my print dialog. So, AFAICT, this is basically working as intended. They're using a type of popup that we block by default, but we give the user a visible way to allow the popup, and after that it works as expected. Virgil: Do you get the Firefox notification bar, and (if so) does its "allow popups" option fix the bug for you, too?
(I don't know why the popup succeeds in the "Classic" Yahoo Mail but is blocked-by-default in their "Newest" interface -- that's presumably due to a change in the newer codebase. Since Gecko's behavior at these pages has remained the same at least as far back as Firefox 4 (based on comment 0), I don't think there's any Mozilla regression / bug here. However, this could arguably be considered a regression in Yahoo Mail's code, and it might be worth getting in touch with them about that, if we want to morph this into an Evang bug.)
I guess you have to click somewhere to trigger the print. How could they manage to get the popup blocker given that... Seems pretty crazy. Is that working with other browsers?
(In reply to Daniel Holbert [:dholbert] from comment #2) > Confirmed. > > Virgil: Do you get the Firefox notification bar, and (if so) does its "allow > popups" option fix the bug for you, too? Yes, it does. However, the print button works correctly from the second try without allowing pop-ups from yahoo domain too. The print error message is received the first time when selecting Print at every login in mail.yahoo.com. Allowing pop-ups from yahoo domain fixes the problem indeed (for all login sessions), but so does trying to print a second time in the same login session (only for the current login session). Resuming, if the user simply tries to click the print button the second time in the same session, the pop-up will show as expected. So the first error message is really unnecessary. (In reply to Mounir Lamouri (:volkmar) (:mounir) from comment #4) > I guess you have to click somewhere to trigger the print. How could they > manage to get the popup blocker given that... Seems pretty crazy. Is that > working with other browsers? Opera works correctly for me. IE has the same behavior as Firefox. Chrome blocks the pop-up the first time, but does not display any error message-second try triggers the pop-up. (In reply to Boris Zbarsky (:bz) from comment #1) > This is a popup blocker issue, not a printing issue, right? > > A testcase would be most helpful, for those of us without yahoo mail > accounts... Indeed, pop-up blocker, but given Daniel Holbert's comments, this might be tech Evang issue, rather than Firefox.
(In reply to Virgil Dicu [:virgil] [QA] from comment #5) > (In reply to Daniel Holbert [:dholbert] from comment #2) > (In reply to Boris Zbarsky (:bz) from comment #1) > > This is a popup blocker issue, not a printing issue, right? > > > > A testcase would be most helpful, for those of us without yahoo mail > > accounts... > > Indeed, pop-up blocker, but given Daniel Holbert's comments, this might be > tech Evang issue, rather than Firefox. does it even still occur?
Flags: needinfo?(virgil.dicu)
Flags: needinfo?(virgil.dicu)
platform-rel: --- → ?
Whiteboard: [8b2] → [8b2] [platform-rel-Yahoo!]
platform-rel: ? → ---
(In reply to Wayne Mery (:wsmwk, NI for questions) from comment #6) > (In reply to Virgil Dicu [:virgil] [QA] from comment #5) > > (In reply to Daniel Holbert [:dholbert] from comment #2) > > (In reply to Boris Zbarsky (:bz) from comment #1) > > > This is a popup blocker issue, not a printing issue, right? > > > > > > A testcase would be most helpful, for those of us without yahoo mail > > > accounts... > > > > Indeed, pop-up blocker, but given Daniel Holbert's comments, this might be > > tech Evang issue, rather than Firefox. > > does it even still occur? It is coming up in SUMO still. An example is in https://support.mozilla.org/en-US/questions/1166849.
I don't currently have a yahoo account, but perhaps loic or alex can reproduce?
Flags: needinfo?(vseerror)
Flags: needinfo?(epinal99-bugzilla2)
Flags: needinfo?(alex_mayorga)
Attached image yahoo-mail-nightly.jpg
WFM with Nightly (and FF54), pressing "P" opens a print dialog box and the pop-up blocker bar. Then clicking on "OK" opens a pop-up with the printable version of the email.
Flags: needinfo?(epinal99-bugzilla2)
¡Hola Wayne! I do get the same as Loic on Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 ID:20170712030204 CSet: 09a4282d1172ac255038e7ccacfd772140b219e2 but in Latinamerican Spanish =) It's a bit confusing but it does work I believe. ¡Hola Virgil! Could you please confirm if this bug is now resolved? ¡Gracias! Alex
Flags: needinfo?(alex_mayorga)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: