Closed Bug 770346 Opened 12 years ago Closed 12 years ago

Dragging an SVG Element becomes unresponsive

Categories

(Core :: SVG, defect)

13 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: happypatrick1971, Unassigned)

Details

Attachments

(1 file)

Attached file firefox.php
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0.1
Build ID: 20120614114901

Steps to reproduce:

Dragging an SVG circle seems to response well on drag at first, but after a few seconds and some random mouse clicks/moves it seems to ignore and mix up mouse events. 


Actual results:

element gets dragged while mousebutton is not pressed, and visa versa


Expected results:

the drag should finish on mouse up. This problem does not  happen with other browsers.
Comment on attachment 638506 [details]
firefox.php

Please rename the .php extention to .html in the submitted attachement.
Comment on attachment 638506 [details]
firefox.php

Extensions doesn't matter
Attachment #638506 - Attachment filename: firefox.php → Testcase
Attachment #638506 - Attachment mime type: text/plain → text/html
Component: Untriaged → SVG
Product: Firefox → Core
QA Contact: untriaged → general
Are you calling preventDefault on the event argument in all your event handlers?
(In reply to Robert Longson from comment #3)
> Are you calling preventDefault on the event argument in all your event
> handlers?

No, I've included the sourcecode in the attachement. I'm just using 3 mouse events (mousedown,mousemove and mouseup).
(In reply to Matthias Versen (Matti) from comment #2)
> Comment on attachment 638506 [details]
> firefox.php
> 
> Extensions doesn't matter

I know, but changing it to html you could run it straight in the browser without the need for running a webserver. :-)
Can anyone confirm the bug?
You need to call evt.preventDefault() in the event handlers to prevent any default event handling.
Status: UNCONFIRMED → 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

Creator:
Created:
Updated:
Size: