Re: [Patch] A clipboard daemon for gnome-settings-daemon



On 06/09/03 18:20, Hongli Lai wrote:

Frankly I find it a little hard to believe that a user would not be aware of

the fact that he has just copied 20 MB of data to the clipboard, if he opens a 20 MB text file and do Select All + Copy.
With the X clipboard model, the app may not read all 20MB of data into memory, but make it available for pasting (no data is transfered until the selection is requested). If the app is smart, it can short circuit cut'n'paste operations within the application so that no data needs to be transfered through the X server.

With a clipboard daemon, the selection will always be requested. If the app provides the data in multiple formats (eg. a word processor providing the data in plain text, HTML, RTF, etc), the amount of data could easily exceed the size of the app's internal representation of the clipboard data.

As Jody has said, it isn't clear that always requesting the clipboard data is a good idea. Calling apps that work fine broken seems like a cop out.

James.

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]