W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: DnD vs CnP (was Copy/Paste Events)

From: Paul Libbrecht <paul@activemath.org>
Date: Sun, 23 Aug 2009 21:40:10 +0200
Cc: "public-webapps@w3.org Group WG" <public-webapps@w3.org>
Message-Id: <7FF4E2D1-3023-40B1-AAC8-AC869A0A4675@activemath.org>
To: timeless@gmail.com, Jacob Rossi <t-jacobr@microsoft.com>

timeless,

So, erm, your conclusion should be we follow MicroSoft Windows copy- 
and-paste?
I still find that the immediate-clipboard-data-delivery is a safer  
mechanism.
It's funny to fall on such a dichotomy!

Le 23-août-09 à 15:47, timeless a écrit :

> http://msdn.microsoft.com/en-us/library/f427xyk8(loband).aspx
> With the advent of OLE, there are two Clipboard mechanisms in Windows.
> The standard Windows Clipboard API is still available, but it has been
> [...]
> Note that Windows really does lump clipboard and drag and drop  
> together.

Wasn't it a person of MicroSoft that started that thread?

Thanks for the pointers. We now have more words: supply data on demand  
or supply data immediately is the crucial difference.

The on-demand situation means: the application still must live for its  
on-demand flavours to be available.

We're now porting it all to a web-browser: an application is a web- 
page, a document that is. So on-demand copy-and-paste would stop being  
available as soon the document is gone, i.e., as soon as the page is  
changed following a link or a back, right?

I would feel bothered as a user.

paul

> On Sun, Aug 23, 2009 at 12:11 AM, Paul  
> Libbrecht<paul@activemath.org> wrote:
>> I am sorry that's not true: a system clipboard is filled  
>> independently of
>> the application.
>
> No, I'm sorry you're unaware of how other operating systems work.
>
>> See here:
>>  http://developer.apple.com/documentation/Cocoa/Conceptual/CopyandPaste/Articles/pbFundamentals.html#/ 
>> /apple_ref/doc/uid/TP40004254
>
> http://msdn.microsoft.com/en-us/library/9s5z33c4(loband).aspx
>
> How data is inserted into a data source depends on whether the data is
> supplied immediately or on demand, and in which medium it is supplied.
> The possibilities are as follows.
>
> Supplying Data on Demand (Delayed Rendering)
>
> In the Data on Demand/Delayed Rendering case, the data does not
> survive app death (unless the app chooses to force the data onto the
> clipboard immediately before death).



Received on Sunday, 23 August 2009 19:41:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT