WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
60506
REGRESSION: drag caret isn't drawn in Mac DRT
https://bugs.webkit.org/show_bug.cgi?id=60506
Summary
REGRESSION: drag caret isn't drawn in Mac DRT
Ryosuke Niwa
Reported
2011-05-09 14:40:09 PDT
Mac DumpRenderTree has regressed and no longer draws drag caret:
http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/editing/selection/drag-in-iframe-expected.png
This is unrelated to the regression introduced in
r86039
, which is tracked in the
bug 60505
. As far as I investigated, In mouseMoveToX (DumpRenderTree/mac/EventSendingController.mm), draggingInfo is null and draggingUpdated is never called. Even if I forced to call draggingUpdated, dragData->containsCompatibleContent() returns false in DragController::canProcessDrag (which is in turn called by DragController::concludeEditDrag) and never sets drag caret. Unfortunately, I don't know enough about Mac port to fix this regression.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-05-09 15:21:34 PDT
Do you happen to know what revision caused the regression? Perhaps it can be just reverted?
Alexey Proskuryakov
Comment 2
2011-05-09 15:22:03 PDT
Also, does this only affect DRT, or the browser, too?
Ryosuke Niwa
Comment 3
2011-05-09 15:28:55 PDT
(In reply to
comment #1
)
> Do you happen to know what revision caused the regression? Perhaps it can be just reverted?
Unfortunately no. I'm suspecting
http://trac.webkit.org/changeset/43890
but that's just my speculation. It didn't help that Mac test bots don't run pixel tests. We should add a drag caret position in render tree dump in the future so that render tree dump difference catch this kind of regression in the future. (In reply to
comment #2
)
> Also, does this only affect DRT, or the browser, too?
This bug only affects DRT. It's not updating DragCaretController properly. However, there is a pending
bug 60505
that broke this feature (due to this feature not being tested).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug