RESOLVED DUPLICATE of bug 56486 52601
[Qt] Drag and Drop does not appear to work properly
https://bugs.webkit.org/show_bug.cgi?id=52601
Summary [Qt] Drag and Drop does not appear to work properly
Ragner Magalhaes
Reported 2011-01-17 15:21:57 PST
Here is a testing page: http://html5demos.com/drag Also you can open some web page with a text input on it and try to drag some text onto the input box.
Attachments
Patch 01 (4.62 KB, patch)
2011-01-17 16:20 PST, Ragner Magalhaes
kenneth: review-
Patch 02 (2.79 KB, patch)
2011-02-01 18:06 PST, Ragner Magalhaes
tonikitoo: review-
Ragner Magalhaes
Comment 1 2011-01-17 16:20:36 PST
Created attachment 79227 [details] Patch 01
Kenneth Rohde Christiansen
Comment 2 2011-01-17 23:42:52 PST
Comment on attachment 79227 [details] Patch 01 View in context: https://bugs.webkit.org/attachment.cgi?id=79227&action=review > Source/WebCore/ChangeLog:8 > + Check timerId's consistency before kill it to prevent kill invalid timer. You need to explain how this related-to/affects the drag and drop Also, please rephrase. Maybe something like: Ensure that timerId is valid before *killing* it, to prevent *killing an* invalid timer.
Ragner Magalhaes
Comment 3 2011-01-18 06:04:43 PST
(In reply to comment #2) > (From update of attachment 79227 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=79227&action=review > > > Source/WebCore/ChangeLog:8 > > + Check timerId's consistency before kill it to prevent kill invalid timer. > > You need to explain how this related-to/affects the drag and drop Hi, after the fix of the drag and drop I was getting a warning message like this "Application asked to unregister timer 0x%x which is not registered in this thread. Fix application." so I just fixed the code that was causing this warning. It doesn't affect the drag and drop. I was just getting this warnings. Should I remove this fix from drag/drop's patch ? > > Also, please rephrase. Maybe something like: Ensure that timerId is valid before *killing* it, to prevent *killing an* invalid timer.
Ragner Magalhaes
Comment 4 2011-01-18 06:12:54 PST
More about this warning message: http://bugreports.qt.nokia.com/browse/QTBUG-16175
Benjamin Poulain
Comment 5 2011-01-28 18:53:12 PST
(In reply to comment #3) > It doesn't affect the drag and drop. I was just getting this warnings. > > Should I remove this fix from drag/drop's patch ? Yep, patch should be doing two unrelated change. Please open a second bug for this and just include that part of the patch there.
Ragner Magalhaes
Comment 6 2011-02-01 18:06:02 PST
Created attachment 80865 [details] Patch 02
Alexis Menard (darktears)
Comment 7 2011-02-14 09:18:23 PST
Comment on attachment 80865 [details] Patch 02 The patch make sense to me after reading the documentation of drag and drop in Qt.
Antonio Gomes
Comment 8 2011-02-14 09:28:04 PST
Ok, then. Ragner, can we test this somehow? autotest even...
Alexis Menard (darktears)
Comment 9 2011-02-14 10:42:26 PST
Auto-test not really. QTestLib is not very nice for that. But a manual test why not, with instructions.
Ragner Magalhaes
Comment 10 2011-02-15 07:01:07 PST
(In reply to comment #8) > Ok, then. Ragner, can we test this somehow? autotest even... Hi tonikitoo, I tested it manually with this demo http://html5demos.com/drag
Yael
Comment 11 2011-02-17 08:32:52 PST
Looks good to me too :)
Antonio Gomes
Comment 12 2011-02-17 13:32:12 PST
Comment on attachment 80865 [details] Patch 02 Ok, lets go with a manual test for now, and please explain in the changelog what is needed for it to be tested.
Benjamin Poulain
Comment 13 2011-04-05 07:13:26 PDT
*** This bug has been marked as a duplicate of bug 56486 ***
Note You need to log in before you can comment on or make changes to this bug.