Log in

Fri, Jul. 15th, 2005, 11:42 am
cparker: Cut/Copy/Paste Broken

I'm using GNOME 2.6.

Every time I cut or copy text, if I close the source window, I'm unable to paste the text anywhere. However, if I leave the source window open, then I can cut/copy/paste without any problems.

Does anybody know if this is a confirmed bug, an unknown bug, or a "special feature"? It's extremely annoying.

Fri, Jul. 15th, 2005 08:06 pm (UTC)

I don't know if this is a bug or a feature, however I found this out the other day when I wanted to copy something that I had trashed. I of course copied, emptied the trash, and... shit! no files were pasted.

I wasn't too upset, it was something I could download again without any hassles, but still, it should not be called a clip board if nothing is clipped to it. It behaves more like a stdio pipe.

Sun, Jul. 24th, 2005 02:08 am (UTC)

I'm no expert but here goes...

When you copy and paste in X windows you directly copy from one program's selection buffer, so if the original program quits then that selection buffer no longer exists so you can't paste from it. [1]

What is needed is a clipboard daemon that acts as a go between between programs but this is slower as the selection has to be copied twice. KDE and Windows work this way and I'm pretty sure some people do this with gnome too(?)

Personally I don't care, I like the traditional behaviour, you just have to get used to the idea that you can't copy from a program if it isn't still running. :)

[1] http://standards.freedesktop.org/clipboards-spec/clipboards-0.1.txt

Tue, Oct. 18th, 2005 11:53 pm (UTC)

My idea is to have a daemon that is a keep alive. I should probably get round to writing it, but it is a low priority.

Anyway, the idea here is that the daemon keeps the application alive in the background (i.e. the window is still destroyed) until the selection buffer for the app is clear. It should be simple and apply to all programmes out there. Nice and elegant :)

Thu, Nov. 10th, 2005 03:13 am (UTC)
simbiosis: It is already done.

There is something called the gnome-clipboard-daemon which does just this. Just start it up in your session, and away you go. However, I've found it to behave badly with OOo. BUT I also read somewhere that Gnome 2.12 has built in clipboard management functionality. However, I don't know which package supplies it.