Bug 657 - keymapdhtml loses navigational capabilities
: keymapdhtml loses navigational capabilities
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows XP
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-09-02 05:50 by
Modified: 2004-09-03 16:23 (History)


Attachments
ms4w application demonstrating the problem (86.91 KB, application/x-compressed)
2004-09-02 05:51, Bart van den Eijnden
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-09-02 05:50:32
After panning in the main map the keymapdhtml widget loses its navigational
capabilities.

I will add a template which demonstrates this. I tested also with beta2.

Actions to do:
-zoomin into the main map with a box
-try to pan or zoom in the keymap, this still works
-pan in the main map
-try to pan or zoom in the keymap, this does not work anymore
------- Comment #1 From 2004-09-02 05:51:49 -------
Created an attachment (id=50) [details]
ms4w application demonstrating the problem
------- Comment #2 From 2004-09-03 13:27:39 -------
verified as reproducible using attached template.  Solution on its way (maybe?)
------- Comment #3 From 2004-09-03 16:10:55 -------
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 ...
------- Comment #4 From 2004-09-03 16:23:16 -------
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 ...)