Closed
Bug 312591
Opened 20 years ago
Closed 14 years ago
draggesture fires when mousebutton is already released
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: shanec, Assigned: shanec)
References
Details
(Whiteboard: [has draft patch])
Attachments
(1 file, 2 obsolete files)
|
886 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1
in our draggable tabbox (not the same as in firefox) I get a draggesture event
if I click on a tab (releasing mouse button) and move the mouse quickly. The
attached patch will prevent this without impairing drag/drop
Reproducible: Always
Steps to Reproduce:
| Assignee | ||
Comment 1•20 years ago
|
||
| Assignee | ||
Updated•20 years ago
|
Attachment #199698 -
Flags: review?(sfraser_bugs)
Comment 2•20 years ago
|
||
I think we have other bugs about it being too easy to start a drag.
Also, I don't think we'll take the patch in its current form. We should avoid
platform #ifdefs in XP code.
Assignee: nobody → mikepinkerton
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #199698 -
Flags: review?(sfraser_bugs) → review?(mark)
Comment 3•20 years ago
|
||
Comment on attachment 199698 [details] [diff] [review]
draggesture.patch
+ if (StillDown()) // only generate drag gesture if button is down
::StillDown(), please.
We have other Mac-specific StillDown() hackiness already in this file. Why are we only having trouble figuring out whether the button is down on the Mac?
| Assignee | ||
Comment 4•20 years ago
|
||
this actually is a bit better, prevents calling updatecursor and GenerateMouseEnterExit in addition to GenerateDragGesture.
Attachment #199698 -
Attachment is obsolete: true
Attachment #213671 -
Flags: review+
Attachment #199698 -
Flags: review?(mark)
| Assignee | ||
Comment 5•20 years ago
|
||
Attachment #213671 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•20 years ago
|
||
Comment on attachment 213671 [details] [diff] [review]
draggesture.patch
this *is* actually the correct patch, a brain fart made be do the other bad patch
Attachment #213671 -
Attachment is obsolete: false
| Assignee | ||
Comment 7•20 years ago
|
||
Comment on attachment 213673 [details] [diff] [review]
oops on the last one, draggesture.patch
bad bad patch
Attachment #213673 -
Attachment is obsolete: true
Shane, is this still a problem in recent Gecko versions?
Assignee: mikepinkerton → shanec
QA Contact: drag-drop
Comment 9•17 years ago
|
||
(In reply to comment #8)
> Shane, is this still a problem in recent Gecko versions?
Whiteboard: [has draft patch]
Updated•14 years ago
|
Attachment #213671 -
Flags: review+
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•