Opened 15 years ago

Closed 15 years ago

#353 closed defect (fixed)

Failed Zoom Rectangle windows will always be shown in the display when it touches the scalebar widget

Reported by: liuar Owned by: madair
Priority: P2 Milestone: Future
Component: Widgets Version: 1.1.1
Severity: Major Keywords:
Cc: jenny.he@… Browser: All
External ID: 1288392.01 Operating System: All
state: Committed

Description

Click Zoom Rectangle button and draw a window which touches scale bar

Result:
Failed window remains (see attached file)

Expected:
Failed window should never be shown

Attachments (2)

353.bmp (301.3 KB ) - added by liuar 15 years ago.
Navigator.patch (562 bytes ) - added by liuar 15 years ago.

Download all attachments as: .zip

Change History (5)

by liuar, 15 years ago

Attachment: 353.bmp added

comment:1 by liuar, 15 years ago

When the cursor moved to the navigator widget, there will be a mouseEnter event triggered which silenced the event mouseOut for the draged box which could remove the box. So, I invoked the method removeBox() explicitly in mouseEnter function to remove the dragged box.

by liuar, 15 years ago

Attachment: Navigator.patch added

comment:2 by christinebao, 15 years ago

Reviewed. It looks good.

comment:3 by liuar, 15 years ago

Resolution: fixed
state: NewCommitted
Status: newclosed

Thanks for Christine's review. Fixed at http://trac.osgeo.org/fusion/changeset/2025.

Note: See TracTickets for help on using tickets.