Closed Bug 1650657 Opened 4 years ago Closed 4 years ago

Pointer gets "stuck" when closing tab while moving mouse

Categories

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

78 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- fixed
firefox77 --- unaffected
firefox78 --- wontfix
firefox79 --- fixed

People

(Reporter: yoasif, Assigned: edgar)

References

(Regression)

Details

(Keywords: regression)

From: https://www.reddit.com/r/firefox/comments/hllbab/firefox_78_cursor_symbol_gets_stuck_when_closing/

Problem: When you move your mouse and close one tab with ctrl+w and Firefox switches to a previous tab, your cursor symbol gets stuck (doesn't switch to index finger pointing when hovering over links for example) until you right click context menu and hover it, or hover over url bar.

How to replicate: Open reddit.com, open a comment thread into another tab, close this tab with ctrl+w WHILE moving your cursor to any direction steadily on the webpage (not urlbar), your cursor is now stuck into one symbol, regardless if you hover over a hyperlink.

Also reported by:

https://github.com/Robbendebiene/Gesturefy/issues/514
https://github.com/marklieberman/foxygestures/issues/318

Regressed by:

Bug 1607375 - Generate mouse exit event to old remote target when the mouse event is moving to another remote target; r=hsivonen,smaug

If a mouse is over a remote target A, and then moves to remote target B, we'd deliver the event directly to remote target B after the moving, A would never get notified that the mouse left. And A would synthesizes mousemove event on an incorrect point which then generates an unexpected mouseleave.

Differential Revision: https://phabricator.services.mozilla.com/D67408

Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1607375

Edgar,

Can you take a look at this? Your patch in bug 1607375 seems to have regressed behavior for people using gesture add-ons - the issue appears without add-ons, however.

Thanks!

Flags: needinfo?(echen)

There is a similar bug 1638091 reported in 78. And bug 1635784 fix it.
I believe bug 1635784 would also fix this one.

Did you see the same issue on Nightly? Thanks.

Flags: needinfo?(echen) → needinfo?(yoasif)

Set release status flags based on info from the regressing bug 1607375

Edgar, reporting user says that it is not reproducible in Nightly.

Flags: needinfo?(yoasif)

Sounds like this was fixed by bug 1607375.

Assignee: nobody → echen
Status: NEW → RESOLVED
Closed: 4 years ago
Depends on: 1635784
Resolution: --- → FIXED
Target Milestone: --- → mozilla79

Ryan, I don't understand how this bug could have been fixed by bug 1607375 - that was the regressing bug.

Flags: needinfo?(ryanvm)

Sorry, that should have been bug 1635784. I set the dependencies correctly at least :-)

Flags: needinfo?(ryanvm)

(Update status prorperly: given that this is a generic bug, not fission-only)

Bug 1635784 looks like more than we'd want to uplift to an ESR release. Is there a more targeted fix we can/should land on ESR or should we wontfix this bug there?

Flags: needinfo?(echen)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #9)

Bug 1635784 looks like more than we'd want to uplift to an ESR release. Is there a more targeted fix we can/should land on ESR or should we wontfix this bug there?

Yeah, bug 1635784 contains some fission-specific changes. Part 3 and part 4 patches of bug 1635784 are generic changes and should be enough for this issue.

Flags: needinfo?(echen)
You need to log in before you can comment on or make changes to this bug.