Open Bug 1763906 Opened 3 years ago Updated 1 year ago

Cursor hand on link hover flashes then switches back to mouse pointer

Categories

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

Firefox 99
defect

Tracking

()

UNCONFIRMED

People

(Reporter: hello, Unassigned)

Details

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

Steps to reproduce:

Hover mouse over any link on any website in Firefox 99.0.

Actual results:

The pointer hand will flash and go back to the mouse pointer immediately.

Expected results:

The pointer hand should display on links. I used pointer:cursor in my own websites and expect the hand. I don't see it on any links in Firefox 99.0

The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core

(In reply to hello from comment #0)

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

Steps to reproduce:

Hover mouse over any link on any website in Firefox 99.0.

Actual results:

The pointer hand will flash and go back to the mouse pointer immediately.

Expected results:

The pointer hand should display on links. I used pointer:cursor in my own websites and expect the hand. I don't see it on any links in Firefox 99.0

Dear reporter,
I didn't see this issue on my Win11 machine.
Can you give me some URLs or your own websites where you saw this issue? Also, it'd be great to test again with Troubleshooting mode to help narrow down issues. Thank you.

Request for comment 2

Flags: needinfo?(hello)

I have this problem, or a similar one, in Firefox 99.0.1 on ubuntu. I am not getting a flash of the correct pointer. It just stays incorrect. Onlu happening with cursor: pointer;.

Operating System:
      Platform: linux
      Arch: x64
      Version: #44-Ubuntu SMP Thu Mar 24 15:35:05 UTC 2022
Mozilla Firefox 99.0.1

I only see this problem in Firefox 99.0 (not since I updated to 99.0.1) on my M1 MacBook Air. On elements set to pointer:cursor, the grabby hand flashes really quickly and then switches to the arrow. It's on every single website with cursor:pointer.

Flags: needinfo?(hello)

Can someone that can reproduce this run something like this and paste the resulting pushlog?

$ pip3 install --user mozregression
$ mozregression --good 98 -a page-where-you-see-the-issue

That should launch some Firefox instances and allow you to find what broke this for you.

I'm still running 99.0.1 but the problem seems to have gone away after using it for a few days. So I guess 99.0.1 might have fixed it? Weird that I still had the error for a couple of days though. Was there a not version bumping update?

The severity field is not set for this bug.
:hsivonen, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(hsivonen)
Severity: -- → S3
Flags: needinfo?(hsivonen)

I have this issue too.
It happens to me from... this year? maybe?

Firefox beta 127.0b9
macOS Sonoma 14.5 (Intel-based)

The chances were pretty high when I launched Firefox right after the macOS launched.
It can easily be fixed by closing/restart Firefox. There is less possibility in a row.
Although I have no clue what causes this problem.

The issue remains even if I turn off all the addons I installed.
It occurs not only on a mouse pointer but also on every ":hover" style. (:hover styles don't apply.)
When I move around the cursor on a link, the pointer flickers by changing between an arrow and a faint hand cursor, as well as the :hover styles.

While I barely have command-line experience,
"$ pip3 install --user mozregression" starts the installation process, after the installation,
"$ mozregression --good 98 -a page-where-you-see-the-issue" says: "-bash: mozregression: command not found".

New experience.
It happened on an already existing Firefox window all of a sudden. (It has happened on launching Firefox, until now)
Then I carefully closed windows one by one, and the issue disappeared right after I closed the Developer Tool of Firefox, which I accidentally hit the [⌥⌘I] to launch a few minutes ago.

Weird. 🙃

Today, it was solved just by switching screen spaces on Mac.

Today, it was solved just by turning it off/on the side pane of the Tree Style Tab addon.
It's quite interesting that from my initial post 12 days ago, (maybe it can resolved by restarting Firefox itself as well, but) I took it carefully to find the cause and found it was solved by various methods.

And I'm afraid that I'm posting useless reports.🤔

Screen 1: Firefox A, terminal, etc.
Screen 2: Firefox B, Firefox C, etc.

  1. It happened on Firefox C. (I didn't check if other Firefox windows happened to be the same back then)
  2. I switched to screen 1 and returned to screen 2. It didn't solve.
  3. I turned off/on the TST pane on Firefox C. It didn't solve.
  4. I focused on Firefox B and returned to Firefox C. It didn't solve.
  5. I switched to screen 1 AND switched the focus from the terminal to Firefox A AND returned to screen 2. It SOLVED.

🤔

  1. It was solved by 5. Firefox C has the window focus now and the pointer does change on links. But when I click anywhere on Firefox C after that, literally anywhere such as a random point on the web, TST pane, or the title bar, then the cursor won't change to a hand-shape anymore. It doesn't depend on what page(tab) is shown on Firefox C.
  2. I tried to bring Firefox C to screen 1, created a new tab on Firefox C, checked that Firefox A did not have the issue on A, etc... Firefox C kept the issue after a single click!! I can't find any solution now, except restarting Firefox.
  3. Restarted Firefoxes. It solved.

🤔

Finally, I found the definitive reason.

How to reproduce:

  1. Make sure the "Reduce motion" on Mac System Settings is set to ON.
  2. Open two Firefox windows and place them on Desktop 1 and Desktop 2 by macOS.
  3. Switch Desktop 2 to Desktop 1. (Use shortcut keys like ^Right/^Left, don't use Mission Control)
  4. The Firefox on Desktop 1 would lose the hand mouse cursor.

(Tested on macOS Sonoma 14.5 (test user account), Firefox beta 129.0 (new profile))

The key was the "Reduce motion". (視差効果を減らす in Japanese)
I don't know why, but I can't link the en-us URL, so I paste the Japanese and Latvian(English) links.

Macで画面上の動きを抑制または減らす - Apple サポート (日本)
https://support.apple.com/ja-jp/guide/mac-help/mchlc03f57a1/mac
Stop or reduce onscreen motion on Mac - Apple Atbalsts (LV)
https://support.apple.com/lv-lv/guide/mac-help/mchlc03f57a1/mac

I don't think that the reproduction method was exactly the same for months though, currently, that is the method.

It happened again. I have no clue this time. 🙃

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