[Webkit-unassigned] [Bug 120920] New: Element [draggable=true] does not start dragging when window in background

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 6 21:48:33 PDT 2013


           Summary: Element [draggable=true] does not start dragging when
                    window in background
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: danya.postfactum at gmail.com

Steps to reproduce the problem:
1. Open attached HTML file.
2. Switch to another any window (eg. open Notepad or Calc)
3. Press left mouse button on red square in the background (not focused) window, hold during 100ms (or more), then start moving your mouse.

What is the expected behavior?
Red square get dragged (HTML5 drag'n'drop).

What went wrong?
Red square is not draggable.

Did this work before? N/A 

OS Version: 6.1 (Windows 7, Windows Server 2008 R2)

This bugs occurs only when "draggable" attribute is set by setTimeout (with timeout > 10ms).
If window, you switched from, has feature "Always stay on Top", the bug does not happen.
This is Windows OS only related.

I'm working on implemementing text Drag'n'Drop (native) feature in web-based code editor (http://ace.ajax.org/). It has feature "drag delay" (Mac users should know this feature), that's why I need to set [draggable] in setTimeout.

Can anyone give me any clue why this behavior relays on timeout for setTimeout and "Always stay on Top" feature of a second window?

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