[Webkit-unassigned] [Bug 64047] Page flashes when dragging a div on google.ro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 14 16:45:27 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64047


Kulanthaivel Palanichamy <kulanthaivel at codeaurora.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kulanthaivel at codeaurora.org




--- Comment #3 from Kulanthaivel Palanichamy <kulanthaivel at codeaurora.org>  2011-07-14 16:45:27 PST ---
(In reply to comment #2)
> I also see this with WebKit nightly r90503.
> Looks like a selection temporarily appears.

The same issue is reproducible in Opera as well. But surprisingly Firefox and IE handle this scenario well.
Basically, when mousepress event is sent to the virtual keyboard's event handler, it suppose to set preventDefault on that event to make sure that default action is not handled on that event.

In EventHandler::handleMousePressEvent(const PlatformMouseEvent& mouseEvent) { 
...
    bool swallowEvent = dispatchMouseEvent(eventNames().mousedownEvent, targetNode(mev), true, m_clickCount, mouseEvent, true);
    m_capturesDragging = !swallowEvent;
...
}
- Here m_capturesDragging is set to true incase of cancelled events to prevent selection on subsequent mousemove events.

I'm not sure whether we need a specific workaround where selection should not get triggered when the corresponding events are handled by drag target's JS event handlers.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list