[Webkit-unassigned] [Bug 10634] New: -webView:dragDestinationActionMaskForDraggingInfo: is ignored

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Aug 29 15:26:48 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10634

           Summary: -webView:dragDestinationActionMaskForDraggingInfo: is
                    ignored
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: WebKit API
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: karl.adam at gmail.com


I've been having problems where some files were accepted as drops on my custom
WebView and others were not, after some debugging I've tracked down where it
all screws up and am lost on why it does it at all.

In WebHTMLView on Line 5906 the line:
  if (actionMask & WebDragDestinationActionDHTML) ...

CHANGES actionMask from it's original value to 0. This shouldn't be happening
and I can't figure out why it's happening at all, but stepping through the code
several times has done it every single time.

After the actionMask has been changed to 0, it of course discards the drag
operation since it thinks it's uninterested in the drag and as a result my code
waiting on the drop is never called, and the green + icon for copy drags never
happens. So basically drags that should be working, fail.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list