[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    Re: New clipboard proposal
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-12-31 17:05:50
Message-ID: 200412311805.50952.kevin.krammer () gmx ! at
[Download RAW message or body]

On Thursday 30 December 2004 20:21, Philip Van Hoof wrote:

> o. A clipboard manager will, using the new Xfixes extensions,
>    catch clipboards that will be lost if the selection-owner
>    gets destroyed. That same clipboard manager will persist
>    the clipboard when the session is about to get shutdown.

I think this is a problem.
Imagine you have an application and the selection is about 100MB of data.
As long as the owner exists and no transfer is requested this 100MB of data 
are part of the application's memory space.

When the application exits the manager either has to "choose" one target or, 
as I read in some other reply, request all targets.

First option has the problem that pasting while the owner is still present 
will very likely get you a different result than pasting from the manager, 
while the second option has the problem that it will multiply the amount of 
necessary memory by the number of targets.

Cheers,
Kevin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic