Closed
Bug 723121
Opened 13 years ago
Closed 13 years ago
[New Tab Page] Dragging and clicking on a thumbnail freezes the thumbnail grid
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 13
People
(Reporter: virgil.dicu, Assigned: ttaubert)
Details
(Whiteboard: [fixed-in-fx-team])
Attachments
(1 file)
1.07 KB,
patch
|
dietrich
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows NT 5.1; rv:13.0a1) Gecko/20120201 Firefox/13.0a1
Dragging and clicking a thumbnail while in drag operation makes the thumbnail grid freeze. No operation on thumbnails can be performed afterwards.
Opening a new tab or hiding/showing the New Tab Page resolves the issue.
Screencast: http://bit.ly/zum9OJ
Initially, found aleatory while dragging a thumbnail. The thumbnail froze on screen, between cells. Couldn't reproduce afterwards.
Howver, the reported problem above (drag and click while the thumbnail reaches the future position)can be reproduced always.
Assignee | ||
Comment 1•13 years ago
|
||
Thanks for finding this, I'll have a look at it. Can you please use http://vid.ly/ or something similar to upload your screencasts to in the future? screencast.com requires Windows Media Player which not all people have :) Thanks!
Reporter | ||
Comment 2•13 years ago
|
||
Yes, I know what you mean. I don't have it either on Linux, but it came in handy while on Windows.
http://vid.ly/5i7a8v
Occurs on all platforms. STR:
1. Drag the thumbnail.
2. Drop.
3. Quickly click and drag once again.
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Comment 3•13 years ago
|
||
Problem: when quickly dragging a tab after dropping it again it still fades into its target position and does not receive mouse events. So we receive a dragstart event for the underlying cell which we should just ignore.
Solution: ignore dragstart events when the event target :not(.site).
Comment 4•13 years ago
|
||
Comment on attachment 595710 [details] [diff] [review]
patch v1
Review of attachment 595710 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with a test added
Attachment #595710 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 5•13 years ago
|
||
Phew, so the reason I didn't add a test in the first place was because I anticipated how hard writing a good test for this scenario would be. We have no real drag&drop test case in the code base because it's really hard to write one for code using the html5 dnd api. I'd have to not only fake mousedown/move/up events but also drag/start/end/over/enter/leave and drop.
Should we maybe ask for some help from the MozMill guys here? Not sure if they have better APIs for stuff like this...
Assignee | ||
Comment 6•13 years ago
|
||
Dietrich, how should we proceed with this?
Comment 7•13 years ago
|
||
Neil, do you know how to best go about testing the new dnd api?
Comment 8•13 years ago
|
||
We do have some drag and drop tests. For example, the recently added editor/libeditor/base/test/test_dragdrop.html to test editor/textbox drag/drop, plus some browser specific drag tests in browser_drag.js. However there are many aspects of drag and drop that cannot be tested automatically, as the native apis control most of the operation.
But if you could describe what you need testing (where you would put ok/is calls for example), I can tell you if and how it could be done.
Assignee | ||
Comment 9•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
You need to log in
before you can comment on or make changes to this bug.
Description
•