Bug 11240 - custom cursors flicker when scrolling with scroll wheel
Summary: custom cursors flicker when scrolling with scroll wheel
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Nobody
URL: http://worldtimzone.com/mozilla/testc...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 04:44 PDT by Eric Seidel (no email)
Modified: 2022-07-24 08:41 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2006-10-10 04:44:10 PDT
custom cursors flicker when scrolling with scroll wheel

any non-default cursor seems to flicker when I scroll using the scroll wheel.  Try scrolling the mozilla test case:
http://worldtimzone.com/mozilla/testcase/css3cursors.html
Comment 1 Eric Seidel (no email) 2006-10-10 04:45:23 PDT
The flickering occurs in Safari 2.x as well.
Comment 2 mitz 2007-03-15 00:08:26 PDT
I'm getting this behavior with standard cursors as well, e.g. when wheel-scrolling text, the I-beam cursor flickers between I-beam and arrow.
Comment 3 Frank Y 2008-12-03 09:57:20 PST
cannot reproduce for webkit r38386, g4 powerbook, osx 10.5.5
Comment 4 Daniel Bates 2009-12-24 11:47:59 PST
Marking importance "Normal" since this does not sound like a blocker.
Comment 5 Ahmad Saleem 2022-07-23 05:15:44 PDT
I am unable to reproduce the flickering the attached test case from Description / Comment 0 but I did following tests and noted these behaviours across browsers:

*** TEST ***

- Verified (in Safari only) whether the cursor works for all cases, it does except for -moz- specific ones
- Put mouse pointer on one cursor (e.g. waiting) and then used trackpad to scroll to see what happens to cursor
- Put mouse pointer on one cursor (e.g. waiting) and use keyboard keys to see what happen

*** Safari 15.6 on macOS 12.5 ***

> Worked and show all cursor types
> When using mouse pointer (waiting), it holds the same cursor and scroll the page
> When using mouse pointer (waiting) - mouse cursor disappears and only visible when you use trackpad (but the cursor is not obvious immediately to me at least)

*** Firefox Nightly 104 ***

> When using mouse pointer (waiting), it holds the same cursor and scroll the page
> When using mouse pointer (waiting) - mouse cursor disappears and only visible when you use trackpad

*** Chrome Canary 106 ***

> When using mouse pointer (waiting), it holds the same cursor and scroll the page
> When using mouse pointer (waiting) - mouse cursor does not disappear and stay on place and show all cursor changes while scrolling down etc.

_____________

I am not sure on desired behavior or web-spec but just wanted to share updated results. Thanks!
Comment 6 Ryosuke Niwa 2022-07-23 12:51:01 PDT
I think this is working as intended now.
Comment 7 Alexey Proskuryakov 2022-07-23 12:53:07 PDT
This bug is about scroll wheel specifically. I don't have a mouse with a scroll wheel to test with.
Comment 8 Ahmad Saleem 2022-07-24 08:41:41 PDT
So I connected my laptop (M1 Pro) with Dell Dock (Thanks to my employer) and had my Razor mouse connected with Dock and tried to scroll the test page while putting my cursor on custom cursor column.

It is updating custom cursors and the cursors does not seem to have "flicker" unless my old eyes or bad eye sight is missing any details in cursor although I noticed following behavior:

*** Chrome Canary 105 ***

> Only update the cursor when you stop scrolling or slightly before the stop and it is not updating as fast as other browser even if I scroll slowly and only few lines.

*** Firefox Nightly 104 ***

Smoothest of all and update custom cursor during scroll as well without any performance drop etc.

*** Safari 15.6 ***

Update on all cursors (if scroll slowly) but it is not as smooth as Firefox.

________

Just wanted to update based on "ScrollWheel" (External Mouse) for others. Thanks!