Closed Bug 1537610 Opened 5 years ago Closed 5 years ago

Since last Firefox Nigthly update, when having two windows open side by side and having the mouse go over the "inactive" window (the windows that wasn't clicked last) the mouse and the active window act like it's going over the active window

Categories

(Core :: DOM: Events, defect, P2)

68 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox-esr60 --- unaffected
firefox66 --- unaffected
firefox67 --- unaffected
firefox68 --- fixed

People

(Reporter: mastil.daniel, Assigned: hsivonen)

References

Details

(Keywords: regression)

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

Steps to reproduce:

For example, I have youtube on one side and another page on the other, I last clicked on the youtube one and the put my mouse over the other one but it acts like I'm going over the youtube one

Actual results:

If I go over the other page and, for example, I go over the middle maybe the progress bar on the youtube video appear, clicking on it changes the page but it's all about the effects that going over the page does

Expected results:

It should work on the page I go over, not over the active page, it worked that way before, it makes sense for it to work that way

[Tracking Requested - why for this release]:

I can reproduce the issue on Nightly68.0a1 windows10.

STR

  1. Open Firefox [Win1]

  2. Open New window (Ctrl+N) [Win2]

  3. Place these window like [Win1][Win2]

  4. Activate [Win1]

  5. Load Youtube video in [Win1] and playback

  6. Move the mouse pointer out of the video so that video controller will be hidden

  7. Mouse pointer over [Win2] and move mouse pointer at same height of the video

Actual Results:
The video controller appears on the video

Expected results:
Mouse pointer should not affect other window.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2244c803a5d08806b9824af9f2f8700791034cd0&tochange=8cd5c2339ca11b720f8b0e067c463f66b1f0ad5c

Regressed by:
8cd5c2339ca1 Henri Sivonen — Bug 1535541 Use chrome-process TabParent focus instead of APZ focus for keyboard event routing. r=nika

Henri, Your patch seems to cause the regression, Can you please look into this?

Blocks: 1535541
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: Events
Ever confirmed: true
Flags: needinfo?(hsivonen)
Keywords: regression
Product: Firefox → Core

The patch for bug 1536730 should fix this. (I.e. fix-wise this is a duplicate but not symptom-wise.)

Depends on: 1536730
Flags: needinfo?(hsivonen)
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
See Also: → 1537680

Filed bug 1537680 about a real fix covering out-of-process iframes. (The patch for bug 1536730 will fix this for the common case but not for out-of-process iframes in an unfocused window.)

Also: Good observation. Thank you for filing and identifying the regression!

Priority: -- → P2

Per comment 2 this should be fixed now.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.