Qt clipboard bug

Simon Hausmann hausmann at kde.org
Thu Apr 4 15:59:11 BST 2002


On Thu, Apr 04, 2002 at 04:48:25PM +0200, Alexander Kellett wrote:
> Hiya gurus,
> 
> If i select some text in a window, then close the window, then MMB'ing in
> another window will not paste the text. This is darn annoying, is it a
> known qt bug thats likely to be fixed at any point?, if not, who do i
> email to moan about it? ;-)

If closing the window also closes the application in the sense of
the process or results in a deletion of the drag object (or example
through the parent-child relationship) then there's no other way to
'fix' it other than using an intermediate storage for the data ->
klipper. The X clipboard mechanism works by making the actual paste
operation result in the pasting window asking the window where the
copy took place for the data in a certain format. The advantage of
that approach is that it's memory efficient and makes supporting
different data formats easy. The disadvantange is indeed that it's
not a truly persistent clipboard as the user might expect it
sometimes.


Simon




More information about the kde-core-devel mailing list