<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Do you have any news concerning the right click
avoiding function? Or, could you maybe tell me where the mouse event handling
takes place so I can check for the right click event or thus stop its
evaluation?<BR>I found this javascript page about catching the right click: <A
href="http://www.rgagnon.com/jsdetails/js-0061.html">http://www.rgagnon.com/jsdetails/js-0061.html</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I hope you can help me with this.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Carlo</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>> Bart,<BR>> <BR>> I agree with your
evaluation of how mouse handling should be done. As <BR>> part of
fixing the javascript performance issue (by restricting mouse <BR>> events to
the map image), I will also try to accomodate your request to <BR>> not
interpret the right mouse button as an action button.<BR>> <BR>> For the
navigation commands, there are a couple of known issues. One is<BR>>
<BR>> that the mouse click handling is fairly promiscuous, so if you have a
<BR>> select box that overlaps the map image and you select an item in the
<BR>> list, then a mouse click is generated on the map too.<BR>> <BR>>
I am hoping to fix this particular problem within the same mechanism, by<BR>>
<BR>> only connecting to mouse click events when the mouse is
actually over <BR>> the map, but I may have to do something along the lines
you suggest to <BR>> ensure that activating another tool doesn't cause some
navigation<BR>> effect.<BR>> <BR>> The problem with this is that
selecting something from the quickzoom or <BR>> some other input on the page
should not really cancel the fact that you <BR>> have the zoom in tool
selected, for instance.<BR>> <BR>> Thanks for all the great input,<BR>>
<BR>> Cheers,<BR>> <BR>> Paul<BR>> <BR>> Bart van den Eijnden
wrote:<BR>> > Hi list,<BR>> > <BR>> > I want to address 2
issues in this e-mail, which are slightly related.<BR>> > <BR>> >
First of all I have noticed that the navigational tools work with all <BR>>
> mouse buttons, i.e. also when pressing the right mouse button the map
<BR>> > zooms in etc. This complicates things when a user wants to save
the<BR>> map <BR>> > image using the "save image as" browser
functionality. Chameleon will <BR>> > act on the active navigational
command, instead of presenting the <BR>> > browser popup menu. Also there
is no way to clear the active <BR>> > navigational tool as far as I have
noticed. You can change it by <BR>> > clicking on another navigational
tool, but not "clear" it.<BR>> > <BR>> > Secondly, a previously
noted issue came to my mind, the problem when a<BR>> <BR>> > user
selects an item from the locations picklist (quickview), that <BR>> >
Chameleon also processes according to the current/active navigational <BR>>
> command. E.g. if the Query tool is the active tool, you also get the
<BR>> > Query results presented when selecting a location to zoom to. BTW
I <BR>> > don't know for sure if the Query tool also works through the
NAV_CMD <BR>> > variable.<BR>> > <BR>> > In my opinion, some
of this behaviour could be corrected by:<BR>> > <BR>> > a) do not
let navigational tools work on a right mouse button press<BR>> > b) when
selecting/using another widget, put the NAV_CMD to an empty <BR>> >
string, so that there is no active navigational tool on the map. E.g.<BR>> on
<BR>> > the OnEnter event of the select box of the quickview, set NAV_CMD
to<BR>> an <BR>> > empty string.<BR>> > <BR>> > Any
thoughts on this?<BR>> > <BR>> > Best regards,<BR>> >
Bart<BR>> > _______________________________________________<BR>> >
Chameleon mailing list<BR>> > <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>>
> <A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A><BR>>
> <BR>> <BR>> -- <BR>>
-----------------------------------------------------------------<BR>> |Paul
Spencer
<A
href="mailto:spencer@dmsolutions.ca">spencer@dmsolutions.ca</A>
|<BR>>
|-----------------------------------------------------------------|<BR>>
|Applications & Software
Development
|<BR>> |DM Solutions Group
Inc
<A href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</A>|<BR>>
<<A
href="http://www.dmsolutions.ca/%7C">http://www.dmsolutions.ca/%7C</A>>
<BR>>
-----------------------------------------------------------------<BR>>
<BR>> <BR>> <BR>> </FONT></DIV></BODY></HTML>