Open Bug 1726676 Opened 3 years ago Updated 3 years ago

Firefox's dialog/pop-up letting through click events

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

Firefox 92
defect

Tracking

()

UNCONFIRMED

People

(Reporter: kafji.exe, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 2 obsolete files)

Attached video repro.mkv (obsolete) —

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

Steps to reproduce:

  1. Open dialog by right clicking or opening toolbar menu with clickable element right below the dialog.

  2. Select an option in the dialog where there is a clickable element underneath it.

Reproduced on:

Version (Firefox): 92.0b6 (I don't think this is beta build related)
OS: Windows_NT 10.0 19042
Tablet: Wacom Intuos BT S CTL-4100WL
Tablet driver version: 6.3.44-1
Reproducible in troubleshoot mode.

Maybe related with https://bugzilla.mozilla.org/show_bug.cgi?id=1710712.

Actual results:

  • Dialog option is selected, action is performed.
  • Clickable element captures click event. I.e. if it's a link, Firefox will go to that document.

Expected results:

  • Dialog option is selected, action is performed.
  • Click event is not passed through to the element below the dialog.

Ok. I don't think is only for dialog. New window also passing through events to the lower window.

Attached video repo_window.mkv (obsolete) —
Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core

I assume you can't reproduce this with mouse.

edgar, can you reproduce this?

Severity: -- → S3
Flags: needinfo?(echen)
Priority: -- → P3

(In reply to Olli Pettay [:smaug] from comment #3)

I assume you can't reproduce this with mouse.

Yes. Only with tablet/Wacom.

(In reply to Olli Pettay [:smaug] from comment #3)

edgar, can you reproduce this?

I cannot reproduce this with Microsoft Surface Pen, it seems a Wacom-specific issue?

Blocks: 1631377
Flags: needinfo?(echen)

Kafji, is this happened only on Nightly? Does switch dom.w3c_pointer_events.dispatch_by_pointer_messages pref to false help? Thanks!

Flags: needinfo?(kafji.exe)
Attachment #9237132 - Attachment is obsolete: true
Attachment #9237135 - Attachment is obsolete: true
Flags: needinfo?(kafji.exe)

(In reply to Edgar Chen [:edgar] from comment #6)

Kafji, is this happened only on Nightly?

I'm on the beta channel. Do you want me to test it on nightly build?

Does switch dom.w3c_pointer_events.dispatch_by_pointer_messages pref to false help? Thanks!

It doesn't.

On a related note. I can reproduce the popup passthrough consistently, but it seems that the window passthrough is intermittent.

(In reply to Kafji from comment #10)

I'm on the beta channel. Do you want me to test it on nightly build?

Yes, please. And does this also happen on the current release (91)? Thanks!

(In reply to Edgar Chen [:edgar] from comment #11)

Firefox 93.0a1 20210824094724:

  • with dispatch_by_pointer_messages = true: right click with Wacom didn't open the context menu
  • with dispatch_by_pointer_messages = false: same as 92b7

I can't test on 91. It shares the same profile with the beta channel and I don't want to risk resetting my profile. Sorry.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: