Closed Bug 330638 Opened 18 years ago Closed 12 years ago

Interruption in delivery of mouse events when dragging SVG elements

Categories

(Core :: SVG, defect)

x86
Windows XP
defect
Not set
normal

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:
Attached image Chris' testcase
Attaching testcase for future.
Confirming. This is very annoying.
Status: UNCONFIRMED → NEW
Ever confirmed: true
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.
this problem isn't still solved!!!
Assignee: general → nobody
QA Contact: ian → general
Attached image test case - wheel
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.
The testcase in comment 6 is invalid as it does not call evt.preventDefault() within the event handlers.
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.

Attachment

General

Created:
Updated:
Size: