RESOLVED FIXED 16271
Don't fire a mousemove event when a modifier key is pressed
https://bugs.webkit.org/show_bug.cgi?id=16271
Summary Don't fire a mousemove event when a modifier key is pressed
Alexey Proskuryakov
Reported 2007-12-03 03:32:52 PST
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
David
Comment 1 2015-01-12 14:55:54 PST
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)
Comment 2 2021-07-29 13:22:37 PDT
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
Comment 3 2021-07-29 13:26:45 PDT
Simon Fraser (smfr)
Comment 4 2021-07-29 13:26:46 PDT
Radar WebKit Bug Importer
Comment 5 2021-07-29 13:27:04 PDT
Alexey Proskuryakov
Comment 6 2023-02-13 12:27:50 PST
Abrar Rahman Protyasha
Comment 7 2023-05-22 17:34:36 PDT
EWS
Comment 8 2023-05-23 21:01:37 PDT
Committed 264455@main (f84b2332af6e): <https://commits.webkit.org/264455@main> Reviewed commits have been landed. Closing PR #14221 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.