Bug 251446 - clicking on link portion of Link sends two MouseUp events
Summary: clicking on link portion of Link sends two MouseUp events
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Scott Kovatch CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords: consistency
Depends on:
Blocks:
 
Reported: 2008-10-20 14:35 EDT by Grant Gayed CLA
Modified: 2010-12-07 14:25 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Gayed CLA 2008-10-20 14:35:33 EDT
 
Comment 1 Felipe Heidrich CLA 2008-11-21 13:01:48 EST
This must be the event bubbling up the hierarchy. Should be able to fix this by testing the target of the event.
Comment 2 Kevin Barnes CLA 2009-03-04 18:50:34 EST
still happening
Comment 3 Scott Kovatch CLA 2010-06-02 17:51:47 EDT
Taking this, as I fixed it locally. Some control subclasses have an override of mouseUp (I think) that addressed this problem. Link needs the same fix.
Comment 4 Scott Kovatch CLA 2010-07-15 12:49:26 EDT
Fixed > 20100715.
Comment 5 Scott Kovatch CLA 2010-07-30 13:50:38 EDT
Fix was stopping the second MouseUp, but broke Selection events. I rolled back the change.
Comment 6 Scott Kovatch CLA 2010-11-01 18:15:16 EDT
re-fixed > 20101101. This is a weird bug in drag/click detection in an NSTextView; we end up getting two mouseUp events when the link is clicked.