Closed
Bug 330638
Opened 19 years ago
Closed 12 years ago
Interruption in delivery of mouse events when dragging SVG elements
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: chris, Unassigned)
References
()
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Drag shapes around *wildly*. It may take a few attempts, but eventually the dragging will appear to freeze and the cursor will change to unavailable (circle with slash). If you let go of the mouse button, the dragging will resume, and you will have to click again to drop the shape.
Each draggable shape is wrapped in a group (g) element. If that wrapping is removed, the problem goes away--see code. Reducing the number of shapes in the drawing also seems to reduce the likelihood of hitting the bug.
Reproducible: Always
Steps to Reproduce:
![]() |
||
Comment 1•19 years ago
|
||
Attaching testcase for future.
![]() |
||
Comment 2•19 years ago
|
||
Confirming. This is very annoying.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•17 years ago
|
||
style="-moz-user-select: none;" helps with the problem, at least here.
Which means that for some reason dragging causes some kind of selection in some
cases.
Updated•16 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 6•14 years ago
|
||
As it is hard to reproduce described behaviour on the attached test case in my FF4/Win7/64bit, I am adding different one. When you click on the green wheel, rotate it by mouse move, then release the mouse button and repeat these steps several times, sometimes you encounter described problem. When the style is set to "-moz-user-select: none;", I cannot reproduce this issue any more.
Comment 7•12 years ago
|
||
The testcase in comment 6 is invalid as it does not call evt.preventDefault() within the event handlers.
Comment 8•12 years ago
|
||
The original testcase also needs evt.preventDefault() in the event handlers.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•