Summary: | Safari displays files instead of passing them off to plugin | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jaron Brass <jaron> |
Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Major | CC: | ahmad.saleem792, ap, mrowe, rniwa |
Priority: | P2 | Keywords: | InRadar |
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Description
Jaron Brass
2007-04-09 14:47:39 PDT
This issue is also open with Apple in RadarWeb, ID 4509932. Have you tried this with a nightly build from http://nightly.webkit.org/? The username/password provided do not work so I have no way of reproducing this bug. Can you provide a working username/password? (In reply to comment #2) > Have you tried this with a nightly build from http://nightly.webkit.org/? > Matt -- we have tried this against several WebKit nightlies. I couldn't get the WebKit universal binary to run in PPC emulation, so we built our own in Xcode. The issue is still present. (Our plug-in is still PPC; we require customers using Safari or Firefox on Intel Macs to run their browsers in Rosetta for proper operation.) (In reply to comment #3) > The username/password provided do not work so I have no way of reproducing this > bug. Can you provide a working username/password? > Mark - my apologies that the credentials do not work. I've sent a request to our product manager for an update on what works with our public MassTransit server. In addition, our senior developer has a simulation tool that emulates our plug-in behavior without relying on Safari. I will get a hold of that and pass it along to this list. Thanks. (In reply to comment #3) > The username/password provided do not work so I have no way of reproducing this > bug. Can you provide a working username/password? > Mark, A drag and drop simulation tool has been uploaded to my web site at http://www.jaronbrass.com/webkit/DragDropBugXCode.zip The project should compile in Xcode. The tool will beep if the plugin handles a drag event and file. If the behavior is what we're experiencing, Safari will display the file instead. Hrm, the attached project does not compile for me. It generates the following errors (these are just the first few, other similar errors follow): Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:36: error: 'OSErr (* LDropArea::sDragTrackingProc)(DragTrackingMessage, OpaqueWindowPtr*, void*, OpaqueDragRef*)' is not a static member of 'class LDropArea' Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:37: error: 'OSErr (* LDropArea::sDragReceiveProc)(OpaqueWindowPtr*, void*, OpaqueDragRef*)' is not a static member of 'class LDropArea' Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:38: error: conflicting declaration 'TArray<SDropAreaEntry>* LDropArea::sDropAreaList' Is there something I'm doing wrong here? Mark, I'm sorry it's not compiling for you. I've not seen that error before. The only other I've seen is an error thrown when using an older version of gcc. In any event, I re-compiled the tool, and I've uploaded it to the following location: http://www.jaronbrass.com/webkit/MassTransitWebClientX.plugin Drop it into /Library/Internet Plug-ins, and hopefully it'll work for you. Fingers crossed. Thanks, Jaron (In reply to comment #7) > Hrm, the attached project does not compile for me. It generates the following > errors (these are just the first few, other similar errors follow): > > Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:36: error: > 'OSErr (* LDropArea::sDragTrackingProc)(DragTrackingMessage, OpaqueWindowPtr*, > void*, OpaqueDragRef*)' is not a static member of 'class LDropArea' > Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:37: error: > 'OSErr (* LDropArea::sDragReceiveProc)(OpaqueWindowPtr*, void*, > OpaqueDragRef*)' is not a static member of 'class LDropArea' > Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:38: error: > conflicting declaration 'TArray<SDropAreaEntry>* LDropArea::sDropAreaList' > > Is there something I'm doing wrong here? > Sorry Mark, That should be: http://www.jaronbrass.com/webkit/MassTransitWebClientX.plugin.zip Thanks, Jaron (In reply to comment #8) > Mark, > I'm sorry it's not compiling for you. I've not seen that error before. The only > other I've seen is an error thrown when using an older version of gcc. > > In any event, I re-compiled the tool, and I've uploaded it to the following > location: > http://www.jaronbrass.com/webkit/MassTransitWebClientX.plugin > > Drop it into /Library/Internet Plug-ins, and hopefully it'll work for you. > Fingers crossed. > > Thanks, > Jaron > > (In reply to comment #7) > > Hrm, the attached project does not compile for me. It generates the following > > errors (these are just the first few, other similar errors follow): > > > > Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:36: error: > > 'OSErr (* LDropArea::sDragTrackingProc)(DragTrackingMessage, OpaqueWindowPtr*, > > void*, OpaqueDragRef*)' is not a static member of 'class LDropArea' > > Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:37: error: > > 'OSErr (* LDropArea::sDragReceiveProc)(OpaqueWindowPtr*, void*, > > OpaqueDragRef*)' is not a static member of 'class LDropArea' > > Source/Web Client/SafariBug/!PowerPlant Overrides/LDragAndDrop.cp:38: error: > > conflicting declaration 'TArray<SDropAreaEntry>* LDropArea::sDropAreaList' > > > > Is there something I'm doing wrong here? > > > Thanks Jaron. I can definitely confirm the duplicate event handling behaviour you describe. If I drag a .jpg file into the plugin, it beeps and then navigates to display the image. If I drag a .plist file, for example, into the plugin, it beeps and the file is also revealed in the Finder. I've taken the liberty of attaching the prebuilt plugin to the radar at <rdar://problem/4509932>. Thank you for doing that, Mark. Hopefully with the WebKit and Apple teams working on this, we'll see resolution soon. We've had this open for awhile, but it hasn't had any traction until recently. I appreciate all of your assistance. -Jaron (In reply to comment #10) > Thanks Jaron. I can definitely confirm the duplicate event handling behaviour > you describe. If I drag a .jpg file into the plugin, it beeps and then > navigates to display the image. If I drag a .plist file, for example, into the > plugin, it beeps and the file is also revealed in the Finder. > > I've taken the liberty of attaching the prebuilt plugin to the radar at > <rdar://problem/4509932>. > NPAPI and Webkit Plugins are not supported any more. Can this be marked as "RESOLVED WONTFIX"? Thanks! |