Closed Bug 1699799 Opened 5 years ago Closed 1 year ago

Clicking the "Print" button in Gmail triggers the popup blocker but works in Chrome

Categories

(Toolkit :: Popup Blocker, defect, P2)

Other
Windows
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox92 --- affected
firefox99 --- affected
firefox103 --- affected
firefox111 --- affected

People

(Reporter: jrmuizel, Assigned: ksenia)

References

()

Details

(Keywords: webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat:sightline])

User Story

platform:windows,mac,linux
impact:feature-broken
configuration:general
affects:all
branch:release

STR:

  • Load an email in gmail
  • Click the print button on the email
  • Firefox pops up the pop blocking alert and Gmail displays a message as well.

Expected:

  • No popup blocking like in Chrome
Component: General → Site Permissions
Component: Site Permissions → Desktop
Product: Firefox → Web Compatibility

Needs Triage.

Flags: needinfo?(raul.bucata)
Flags: needinfo?(oana.arbuzov)

We appreciate your report. I was able to reproduce the issue. Clicking on the "PRINT" button in an email triggers a warning message and the print preview is not shown.

Notes:
This is caused by the default setting of the browser: "Block all pop-ups" and a workaround for this is to disable this option from the "Settings"

Tested with:

Browser / Version: Firefox Nightly 92.0a1 (2021-07-20) (64-bit)
Operating System: Windows 10 PRO x64

Flags: needinfo?(raul.bucata)
Flags: needinfo?(oana.arbuzov)
OS: Unspecified → Windows
Priority: -- → P3
Hardware: Unspecified → Other
Version: unspecified → Firefox 92
Assignee: nobody → kdubost
Status: NEW → ASSIGNED

This is still an issue.
https://prnt.sc/dhaQj_RuQiCc

Tested with:
Browser / Version: Firefox Nightly 103.0a1 (2022-06-26)
Operating System: Windows 10 Pro

Assignee: karl+moz → kberezina
See Also: → 1835402
Severity: -- → S3
User Story: (updated)
Priority: P3 → P2

They're doing a window.open, and it's indeed a popup, so we block that. I almost feel like this is a case of "working as intended", but I see how this could create user confusion.

I'll move this to the popup blocker component so they can decide if there's anything we could or should be doing.

User Story: (updated)
Component: Site Reports → Popup Blocker
Product: Web Compatibility → Toolkit
Version: Firefox 92 → unspecified
Whiteboard: [webcompat:sightline]

This works after enabling dom.popup.experimental (which is enabled by default in bug 1927368).

How did Chrome previously avoid blocking the print popup?

Flags: needinfo?(echen)

Our ancient popup blocker had stricter rules for tracking user activation. It now follows the model defined in the spec for tracking user activation, aligning our behavior with Chrome.

Flags: needinfo?(echen)

I can confirm that printing in Gmail is no longer blocked by the popup blocker as of 134 \o/

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