Ticket #152 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Clicking on zoom slider passes event through to underlying map

Reported by: chrisclaydon Owned by: madair
Priority: P1 Milestone: 2.0
Component: Widgets Version: SVN
Severity: Major Keywords: Zoom slider
Cc: External ID: 1152379
state: Analysis Requested Browser: All
Operating System: All

Description

1. Open any Fusion layout

2. Pick 'Zoom-In' (+) on the Zoom Control/Slider?.

3. Move the cursor away from the control.

RESULT: Depending on the currently active widget, either:

  1. the map moves with the cursor or
  2. a drag-window rubber-banding line follows the cursor.

Change History

Changed 3 years ago by madair

  • status changed from new to closed
  • resolution set to fixed

(In [1642]) closes #152: remove event.stop() so that the full click event gets processed (mousedown/mouseup)

Changed 3 years ago by chrisclaydon

  • status changed from closed to reopened
  • resolution fixed deleted

I no longer get the rubber-banding or panning, but if I'm in Select mode, the object underneath the zoom slider still gets selected.

I'm testing using the Slate template.

Changed 3 years ago by madair

(In [1649]) re #152: deactivate controls and handlers when the mouse is over the Navigator widget; widgets using the canvasTool will still click through to the map however until the canvas tool is converted to use OL handlers or replaced with OL vector drawing capabilities

Changed 3 years ago by madair

(In [1650]) re #152: switch Navigator to use mousedown event to prevent conflicts with canvasTool widgets

Changed 3 years ago by madair

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.