Open Bug 1854862 Opened 8 months ago Updated 3 months ago

CSS hover flickers when Firefox windows are open on 2 separate macOS Spaces (virtual desktops)


(Core :: Widget: Cocoa, defect, P5)






(Reporter: smokris, Unassigned)



(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

Actual results:

The hover state flickers on and off rapidly (see attached videos).

This makes it nearly impossible to use the hover-based dropdown menus present on many websites, e.g.

Expected results:

I would expect the hover state to take effect when the mouse moves into the element, instead of flickering on and off when the mouse moves within the element.

Summary: CSS hover flickers when a Firefox window is open on 2 separate macOS Spaces (virtual desktops) → CSS hover flickers when Firefox windows are open on 2 separate macOS Spaces (virtual desktops)
OS: Unspecified → macOS
Hardware: Unspecified → ARM64

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Cocoa
Product: Firefox → Core

Could you run mozregression to see when this started happening? If you have never run mozregression before, simply run these three commands in a Terminal window:

sudo easy_install pip
sudo python3 -m pip install -U mozregression --ignore-installed
mozregression --good 2017-01-01

A number of Firefox versions will open in succession to narrow down when this started occurring. Simply type "good" or "bad" in Terminal based on whether or not a build reproduces the bug. Once finished, please post the output from the last run. It should give a last good and first bad revision as well as a link to look at the changesets in that range. Thank you!

Severity: -- → S4
Flags: needinfo?(smokris)
Priority: -- → P5

Thanks for your response. I've been able to reproduce the problem with a clean profile in all of these Firefox builds:

I did try mozregression, but it wasn't helpful in this case since there's no "last good revision" — the problem occurs in all versions of Firefox that I've been able to test. (I also tried about a dozen older builds ranging from 2017-01-01 to 2019-08-23, but on macOS 14 they all either crash on startup or render invisible windows, which seem to be unrelated problems.)

Since this problem occurs on all of the Firefox builds that I've been able to test, and since I only started noticing the problem after updating to macOS 14, I suspect that the problem may be due to OS/framework changes in macOS 14.

Flags: needinfo?(smokris)

See also bug 1856615.

After moving the window from one external display to another external display or to the MacBook's own display hovering may behave normally. Then moving the window back to the original external display, hovering is broken again!

Attachment #9382903 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.