Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble handling drop events on my WebView



Looks like there's already a P1 bug in bugzilla for this:

http://bugs.webkit.org/show_bug.cgi?id=16816


I added another simple test case.

Here's something strange... I tried Pyro.app[1], on leopard, and I'm still able to use that app's custom WebView drag destination behavior (dragging a file to the webview uploads the file to campfire website thru a file input/webform on the page). presumably, the developer of that app is using the WebUIDelegate api... and it still seems to work on leo. strange. i'm still worried that my test case is missing some necessary step.

todd ditchendorf


[1] http://www.karppinen.fi/pyro/





On Jan 19, 2008, at 8:57 PM, Todd Ditchendorf wrote:

I'm having trouble getting my WebUIDelegate to respond to drop events on a WebView in my app on 10.5.1.

This method never seems to be called:

- [WebUIDelegate webView:willPerformDragDestinationAction:forDraggingInfo:]


I've registered my controller object as the WebView's UIDelegate (its other methods are def. being called, so I feel good about this), and I've implemented this method:


- [WebUIDelegate webView:dragDestinationActionMaskForDraggingInfo:]

and tried returning all of the possible WebDragDestinationAction values, but the other callback method (willPerformDragDestinationAction:) is never called.

Am I missing some step?

Google sees one other unresolved report of this problem recently in leopard:

http://lists.apple.com/archives/webkitsdk-dev/2006/Feb/msg00032.html

thanks,

Todd Ditchendorf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webkitsdk-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden
References: 
 >Trouble handling drop events on my WebView (From: Todd Ditchendorf <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.