incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120481] F4 no drag and drop an head of colomn into writer document
Date Wed, 15 Aug 2012 09:58:27 GMT

--- Comment #7 from Andre <> ---
I dug a little deeper.  Here is what I found out.

The aqua DropTarget class in its initialize() method registers the set of data
flavors it wants to be called for by the system, when a drag-and-drop operation
is active that supports at least one these data flavors.  This set consists of
what DataFlavorMapper::getAllSupportedPboardTypes() returns plus
When the transferable does not contain any of the registered flavors then the
DropTarget is never called.

The attached patch works because it adds one of the registered flavors to every
transferable that does not yet have any registered flavor.  Once the
transferable is accepted and is dropped on a receiver (drop target) the other,
not registered, flavors can be used to extract information that then is pasted.

You are receiving this mail because:
You are the assignee for the bug.

View raw message