[Webkit-unassigned] [Bug 22382] Middle click fires onclick event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 13 19:46:33 PDT 2010


--- Comment #28 from Darin Adler <darin at apple.com>  2010-06-13 19:46:28 PST ---
(In reply to comment #26)
> > For our internal convenience we have decided to retain an internal-only click event for middle clicks. And we are now creating such an event for right clicks.
> Yes.  I didn't see another technical solution.

The alternative solution would be to move the code that responds to to middle and right clicks into event handlers for events that do get sent instead of the click event. Once we've changed all the event handlers so they don’t depend on receiving a click event for a middle click, then we can change the code to not emit that event.

> The problem is that current WebKit clients have behavior we want to retain as the default event handler for these events.

This is the part I am not clear on. What are these clients? Are they you talking about something outside the defaultEventHandler functions in WebCore itself?

> I bet we could do it by breaking all existing clients that handle middle-click via default events, but that sounds like a bad idea.

It all depends on what you mean by clients. Maybe you could give me a specific example of a client outside WebCore?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list