Hi Yuri

I am not sure how AOO's implementation works, but I do have a lot of drag
and drop experience on Windows, X11, .NET and Java,
using/implementing/porting.

Examine the action and data flavor negotiations: move vs copy, rich text vs
plain text.

I know there are special data flavors for internal drag and drop which
short-circuit within AOO, data doesn't (fully?) travel through the
platform's drag and drop mechanism like it would to other applications.

Failing everything, trace through the code on the drop target and see where
it's getting rejected and why.

Good luck
Damjan

On Thu, Mar 15, 2018 at 5:48 PM, Yuri Dario <y...@os2power.com> wrote:

> Hi,
>
> I have implemented d&d on OS/2 platform. The framework is almost
> complete and also basic operations are supported.
>
> I only face a very strange issue: while d&d works well for calc and
> calc to writer or writer to calc, it does not work from writer to
> writer.
>
> if I select a word in  a writer document I can't move it using d&d, I
> immediately get the rejectDrag() event immediately called. Dropping
> into a different writer window is ok.
>
> Ideas? I have no clue at all for this.
>
> thanks,
>
> Yuri
>
>
> --
> Bye,
>
>         Yuri Dario
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>

Reply via email to