OS/2 drag&drop writer only issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

OS/2 drag&drop writer only issue

Yuri Dario-2
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: OS/2 drag&drop writer only issue

Damjan Jovanovic
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 <[hidden email]> 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: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: OS/2 drag&drop writer only issue

Yuri Dario-2
Hi Damjan,

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

I found that somehow the problem was related to mouse coordinates.
This allowed me to understand that I was returning the wrong drop code
to OS/2: DOR_NODROPOP was preventing further DM_DRAGOVER messages to
be sent to AOO message queue.

thanks,

Yuri



--
Bye,

        Yuri Dario



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: OS/2 drag&drop writer only issue

Matthias Seidel
Great to hear!

Hopefully we can see a working version at Warpstock Europe in Berlin? :-)

Regards,

   Matthias


Am 16.03.2018 um 18:11 schrieb Yuri Dario:

> Hi Damjan,
>
>> Failing everything, trace through the code on the drop target and see where
>> it's getting rejected and why.
> I found that somehow the problem was related to mouse coordinates.
> This allowed me to understand that I was returning the wrong drop code
> to OS/2: DOR_NODROPOP was preventing further DM_DRAGOVER messages to
> be sent to AOO message queue.
>
> thanks,
>
> Yuri
>
>
>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OS/2 drag&drop writer only issue

Yuri Dario-2
In reply to this post by Yuri Dario-2
Hi Matthias,

> Hopefully we can see a working version at Warpstock Europe in Berlin? :-)

probably even before that :-)

And I will miss WSE in Berlin, I have an exam two days later :-(



--
Bye,

        Yuri Dario



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: OS/2 drag&drop writer only issue

Matthias Seidel
Am 26.03.2018 um 09:27 schrieb Yuri Dario:
> Hi Matthias,
>
>> Hopefully we can see a working version at Warpstock Europe in Berlin? :-)
> probably even before that :-)

Hi Yuri,

Sounds good! ;-)
Let me know if you need testers. My ArcaOS is up and running.

> And I will miss WSE in Berlin, I have an exam two days later :-(

Too bad...
I just ordered my Tickets!

Regards,
   Matthias

>
>
>



smime.p7s (5K) Download Attachment