Bug 16271
Summary: | Don't fire a mousemove event when a modifier key is pressed | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | dhart, mitz, simon.fraser, webkit-bug-importer |
Priority: | P3 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://bugs.webkit.org/attachment.cgi?id=14020 | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=136564 |
Alexey Proskuryakov
From bug 13341: we fire a fake mousemove event when a modifier key is pressed. We shouldn't.
Currently, it's needed to cause things like the status bar message to update.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David
Is there a workaround for this bug? Is there a way to disambiguate fake mousemove events from real ones, does one of the event properties identifies this as a modifier type mousemove?
Simon Fraser (smfr)
In WebKit2 this comes out of this code:
m_flagsChangedEventMonitor = [NSEvent addLocalMonitorForEventsMatchingMask:NSEventMaskFlagsChanged handler:[weakThis] (NSEvent *flagsChangedEvent) {
if (weakThis)
weakThis->postFakeMouseMovedEventForFlagsChangedEvent(flagsChangedEvent);
return flagsChangedEvent;
}];
Radar WebKit Bug Importer
<rdar://problem/81287778>
Simon Fraser (smfr)
https://twitter.com/brianskold/status/1420312185444601856
Radar WebKit Bug Importer
<rdar://problem/81287802>
Alexey Proskuryakov
<rdar://problem/81287778>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/14221
EWS
Committed 264455@main (f84b2332af6e): <https://commits.webkit.org/264455@main>
Reviewed commits have been landed. Closing PR #14221 and removing active labels.