Menu

#299 Cannot move preview map by dragging with right mouse down or cursor keys

open
nobody
None
1
2018-03-07
2018-01-31
No

Since afair at least V2.0 I cannot move (pan) the preview map by draging the mouse with the right mouse button down. However when additionally the Ctrl-Key is pressed panning works. Also no panning by using the cursor keys. All of these worked in earlier versions. OS tested: Windows XP SP3 32 Bit and Win 8.1 64 Bit.

As a side note: most people I think will much often need to pan the preview map, and more seldom need to draw a selection. So panning should be delegated to the left mouse button. At least me mostly use Mobac simply as a versatile (knowing many on- and offline map formats, especially the mapsforge ones) map viewer. It would be beneficial too to enhance this aspect of Mobac.

Discussion

  • Hamish Mitterhofer

    Update

    Today I realized that on my system (Windows 8.1 64 Bit) mouse down events are screwed up. When the right mouse button is pressed while none of the modifier keys (Shift, Ctl or Alt) is pressed the mouse down event is not fired. However when any one or any combination of the modifier keys is pressed additionally then the mouse down event fires. This wrong behaviour is true at least for VB6 applications and seemingly for Mobac and perhaps all Java apps too. Mouse up events however are always fired. Strange.

    One workaround would be to poll mouse state at a reasonable rate, say every 100 ms for detetcing right mosue button down state.

    Of course as suggested preview map panning by left mouse button down drag would help too. Then the problem of missing mouse down events would be transferred to the selection of regions, which however as at least for me is much much less often used.

    Panning by cursor keys also does not work. Don't know why, key down and key up events for those keys are fired.

     
  • Hamish Mitterhofer

    PS

    On my system at least two apps (Pstart and Quik Cliq, both program launchers) register themselves for hotkey processing, Quick Clip additionally detects mouse gestures.

    When removing the Quick Cliq app right button mouse down events now fire as expected and Mobac works as expected (panning by dragging with right mouse button down).

    Further removing the PStart launcher (now no one of both apps is running) doesn't help regarding the cursor keys. Also num pad cursor keys don't work for panning. Zooming and switching to other maps by using the cursor keys and appropriate modifier keys however works as dvertised, with or without the launcher apps running and with both standard cursor keys and numpad cursor keys.

    So for me, if you like, the bug case is closed.

     

Log in to post a comment.

MongoDB Logo MongoDB