Summary: | keymapdhtml loses navigational capabilities | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Bart van den Eijnden <bartvde@osgis.nl> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.99 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Attachments: | ms4w application demonstrating the problem |
Created an attachment (id=50) [details]
ms4w application demonstrating the problem
verified as reproducible using attached template. Solution on its way (maybe?)
to clarify, the KeyMapDHTML is non-functional when the PanMap widget is selected in the page, even on the initial page load. As soon as you select a different nav tool, the KeyMapDHTML becomes functional again. Still no clue as to why ...
fixed in cvs. The problem occurred because the PanMap code that tracks mouse movement was unsetting the document.onmousexxxx handlers if the mouse was not inside the map image. The fix was for it to only unset them if they were set to the PanMap's mouse handling functions. I also committed a fix to the KeyMapDHTML initialization that was breaking on my machine (no one else reported this problem ...)