Opened 9 years ago

Closed 8 years ago

#12066 closed enhancement (fixed)

Incomplete silverlight 2.0->dojox.gfx mouse event conversion

Reported by: Katie Vance Owned by: Eugene Lazutkin
Priority: high Milestone: 1.6
Component: DojoX GFX Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

This enhancement is in regards to this thread: http://dojo-toolkit.33424.n3.nabble.com/gfx-incomplete-silverlight-mouse-events-fix-td1834557.html

Patch from Patrick (IBM, CCLA) to follow.

Attachments (1)

12066.patch (695 bytes) - added by Katie Vance 9 years ago.
patch from Patrick (IBM, CCLA)

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Katie Vance

Attachment: 12066.patch added

patch from Patrick (IBM, CCLA)

comment:1 Changed 9 years ago by Eugene Lazutkin

Milestone: tbd1.6
Status: newassigned

comment:2 Changed 8 years ago by Patrick Ruzand

In addition to mouse event target, the event target fix should also apply to keyboard event. That is, keyFix should be something like:

var keyFix = function(s, a) {
	var ev = {
		keyCode: a.platformKeyCode,
		ctrlKey: a.ctrl,
		shiftKey: a.shift
	};
	// BEGIN PATCH
	if (a.source) // source is defined from Silverlight 2+
		ev.target = a.source;
	// END PATCH
	return ev;
};

comment:3 Changed 8 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [23699]) gfx: added support to Silverlight 2+ events, thx Patrick Ruzand (IBM, CCLA)!, !strict, fixes #12066.

Note: See TracTickets for help on using tickets.