You need to log in before you can comment on or make changes to this bug.
The zoomin box has problems in IE (also in the Studio template). Sometimes the cannot drag image appears, and sometimes the box will continue to follow the mouse position. A user has to click again to perform the zoom action. These problems were not present in Chameleon 1.1.
I think there may be two separate issues here. First is the dragging thing and second is the mouse movement and need to click ... The dragging thing first ... I don't seem to be able to reproduce the drag problem in IE but I can in FireFox ... interesting ... I would like to suggest adding an event handler to accomodate this: document.ondragstart = CWCOnDrag; function CWCOnDragStart( e ) { var target; if (CWCIsIE) { e = event; target = event.srcElement; e.cancelBubble = true; e.returnValue = false; } else { target = e.target; if (e.cancelable) e.cancelBubble = true; } } Bart, can you try adding this to your template and see if it resolves your problem? If yes, then I will probably include this in the javascript functions provided by the MapDHTML widget Now the movement thing ... There is an issue I have observed with the mouse moving outside the map area, this will cause the zoom tool to stop tracking mouse movement and requires a second mouse down/mouse up inside the map area to trigger the zoomin, even though moving the mouse with no button down causes the zoom box to follow the mouse. Is this what is happening for you? This issue may occur with Chameleon 1.99 beta because we modified the movement handlers to only trigger when the mouse is over the map. We may need some additional logic to know that a tool is in use and not unhook the handlers.
and now I have seem the drag problem in IE too ... I don't think it is browser specific, so perhaps the ondragstart is not to blame? There could be some synchronization problems too. Hard to tell at this point.
Hi Paul, adding the function to my template seems to solve things with the zoomin box in IE. Great! The problem I had was not happening when moving outside of the map area. I was just inside the map area all of the time. The strange thing is that it still does not work for the ROIRectangleTool. Do they use different js logic?
Added the ondragstart handler to the MapDHTMLWidget and also modified the MapDHTMLWidget to give non-zero zindexes to the various DHTML layers involved in displaying the map to prevent problems with the mouse movement handler 'seeing' the MapDHTML image events.
Not sure how to verify this bug. Paul do you have any suggestions?
Bart, please verify.
Verified, I will remove the code from my templates now.
closing bug based on last comment.