Opened 9 years ago

Closed 3 years ago

#11639 closed defect (patchwelcome)

IE: dojo gfx text's event handle issue

Reported by: JayZ(zhouxiang) Owned by: Eugene Lazutkin
Priority: high Milestone: 1.13
Component: DojoX GFX Version: 1.5
Keywords: Cc: xiangxz@…
Blocked By: Blocking:

Description

When you combine an event to a dojo.gfx.text, for example: surface.createText(text).connect("onclick", function(e){

alert("triggered")

})

In firefox, chrome, safari..., the event(onclick) will be triggered when you click on the boundingbox of the text: please refer to handler_firefox.png

But in IE, the event(onclick) will only be triggered when you click on each word of the text itself exactly, the event will not be triggered even when you click on the blank area between each word of the text, or even the blank area within each word. please refer to the hander_IE.png

Attachments (2)

handler_firefox.png (11.9 KB) - added by JayZ(zhouxiang) 9 years ago.
firefox gfx text event handler
hander_IE.png (14.2 KB) - added by JayZ(zhouxiang) 9 years ago.
IE gfx text event handler

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by JayZ(zhouxiang)

Attachment: handler_firefox.png added

firefox gfx text event handler

Changed 9 years ago by JayZ(zhouxiang)

Attachment: hander_IE.png added

IE gfx text event handler

comment:1 Changed 9 years ago by JayZ(zhouxiang)

IE's event handler for gfx text is totally different from other browsers, which make the gfx text event much harder to be triggered, this will cause a lot of issue on text's event handler.

comment:2 Changed 9 years ago by Eugene Lazutkin

Milestone: tbdfuture
Status: newassigned

Not sure we can fix it reasonably. But I am sure MS is not fixing VML. :-(

comment:3 Changed 3 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: assignedclosed

Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.