[Webkit-unassigned] [Bug 211884] New: Cursor should not update on a 20ms timer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 14 02:12:37 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=211884

            Bug ID: 211884
           Summary: Cursor should not update on a 20ms timer
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at webkit.org

In EventHandler, the cursor is updated on a timer scheduled with 20ms:

    // The amount of time to wait for a cursor update on style and layout changes
    // Set to 50Hz, no need to be faster than common screen refresh rate
    static const Seconds cursorUpdateInterval { 20_ms };

If the cursor should be updated only as the display refreshes, then it should be timed when the display refreshes and not use some canned timer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200514/eb77aee7/attachment-0001.htm>


More information about the webkit-unassigned mailing list