Bug 35132

Summary: Mouse cursor sometimes flickers over Flash content
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Plug-insAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Attachments:
Description Flags
proposed fix mjs: review+

Description Alexey Proskuryakov 2010-02-18 14:37:06 PST
WebKit sometimes changes mouse cursor over Netscape plug-ins, even though those are supposed to be in control of cursor.

1. EventHandler sets cursor before dispatching events to plug-in.
2. SetCursor overrides in WEbHTML view are currently ineffective, to AppKit resets the mouse pointer to default once it cannot find an appropriate cursor rect.

This causes flickering - and I actually saw the cursor disappear on google.com/finance.

The problems are most visible with Flash 10.1 beta.

<rdar://problem/7664353>
Comment 1 Alexey Proskuryakov 2010-02-19 10:00:45 PST
Created attachment 49085 [details]
proposed fix

Did some brief testing on Windows, and this doesn't seem to break things.
Comment 2 Maciej Stachowiak 2010-02-19 16:02:54 PST
Comment on attachment 49085 [details]
proposed fix

r=me
Comment 3 Alexey Proskuryakov 2010-02-19 17:23:49 PST
Committed <http://trac.webkit.org/changeset/55041>.