Closed Bug 434154 Opened 17 years ago Closed 11 years ago

JavaScript Drag&Drop on button release

Categories

(Core :: Widget: Cocoa, defect, P2)

PowerPC
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: onken, Assigned: smichaud)

References

()

Details

(Keywords: regression)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9) Gecko/2008051202 Firefox/3.0 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9) Gecko/2008051202 Firefox/3.0 Click on the Hello World button and try dragging around the window. It will attach itself to the cursor *after* you released the mouse button not while it is pressed. This bug is only showing up on Mac OS X. I works on Windows and Linux. Reproducible: Always Steps to Reproduce: 1. open http://extjs.com/deploy/dev/examples/window/hello.html on a Mac 2. try dragging around the window Actual Results: The window will attach itself to the cursor *after* you released the mouse button Expected Results: The window should attach itself to the cursor while the mouse button is pressed.
I can reproduce this on OS X 10.5.2 with Firefox 3 RC 1, but not on Windows (XP) or Linux (Kubuntu 7.10). I can also reproduce with Camino 1.6 and a recent Camino trunk nightly (both of which use Cocoa widgets), but not with Firefox 2.0.0.14 (which doesn't use Cocoa widgets). All of which strongly suggests this is a Cocoa widgets bug. But I don't know how serious it is (how often it will be encountered). If possible, please give me examples of sites where this problem occurs.
Assignee: nobody → joshmoz
Component: General → Widget: Cocoa
Product: Firefox → Core
QA Contact: general → cocoa
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: joshmoz → smichaud
Flags: wanted1.9.0.x?
Priority: -- → P2
I can confirm your test results. It seems like the objects you drag have to be some kind of "heavy" to fail proper dragging. Simple objects can be dragged (http://demo.script.aculo.us/shop), even using the extjs framework. I'm still looking for another test case. I'll let you know.
I found another site which uses ExtJS. http://www.filespots.com/index3.html Try dragging around the login window...
This is a regression from Firefox 2, but not sure it's wanted for 1.9.0.x instead of just picking up in 1.9.1...
Flags: wanted1.9.1?
Keywords: regression
Flags: wanted1.9.1? → wanted1.9.1+
Doesn't really meet the "wanted" criteria (security, stability, regression from maintenance release) for 1.9.0.x. However, we'll look at a reviewed and baked patch.
Flags: wanted1.9.0.x? → wanted1.9.0.x-
As best I can tell this has been fixed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.