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

List:       kde-devel
Subject:    Re: Copy and paste in KDE
From:       Andreas Simon <yuipx () gmx ! net>
Date:       2002-02-27 18:55:34
[Download RAW message or body]

On Wed, 2002-02-27 at 19:18, Christian Lavoie wrote:
> There was a proposition some time ago, to change the behavior to something 
> that would satisfy BOTH UNIX-like and Windows-like users.

See this document:
http://www.freedesktop.org/standards/clipboards.txt

> Fact is there are 3 X Window clipboards. SELECTION, PRIMARY, SECONDARY. The 
> third one is just about never used.

ICCCM defines PRIMARY, SECONDARY, and CLIPBOARD
which is about the same.

> How about:
> 
> Selection overwrites the SELECTION clipboard
> Ctrl-C overwrites both the SELECTION and PRIMARY clipboards
> Ctrl-V pastes from PRIMARY
> Mouse middle button pastes from SELECTION

"QT3, Emacs and Gnome 2 will use this:
use CLIPBOARD for the Windows-style cut/copy/paste menu items;
use PRIMARY for the currently-selected text, even if it isn't
explicitly copied, and for middle-mouse-click (Netscape, Mozilla,
XEmacs, some GTK+ apps)"

For more explanation see the above document.

> Anyone can find anything wrong with this picture?

It's very important that KDE here doesn't implement
his own way but to follow standards so to guarantee
working cut&paste between different applications/
desktops (e.g. between KDE and GNOME applications).

Cheers,
Andreas

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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