Version: (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.3 OS: Linux I often find myself using klipper's history feature while programming, using the shortcut to pop up the dialog. What I'd like is for klipper to be able to automatically paste the newly selected item from history straight into the currently focused application, instead of always selecting an item from history then having to press paste. Thanks, Hamish.
I totally agree.
Let me get this straight: You want a config option, so that selecting an item from the clipboard history automatically pastes the item into whatever cursor position gets focus after the menu closes?
Yes please. I find I'm always bringing up the klipper menu, selecting the entry I want, then pressing paste... I figure with this option that sequence goes from 3 actions to 2.
Hamish, great idea! My 2 cents: 1) LMB, space, enter --> just pastes into active app, does not change "current" clipboard content 2) ctrl+c (or whatever copy shortcut) --> change current clipboard content 3) ctrl+v --> combined both of them I think that "paste only" should be more obvious one because it is most commonly used (I guess: what point of choosing entry if not for pasting). ad.1) why not copy+paste and removal of (2) and (3) -- because then user has to get back to the just previous entry -- with three modes there is chance to do exactly what it is preferred
I like this idea, but I would want to choose between the current behavior and auto-paste behavior on the fly. What about making this a new variant on "show klipper popup-menu"? I'd suggest calling it "Paste from klipper popup-menu", with a default shortcut of ctrl-alt-shift-v. When invoked, the usual klipper popup would appear, and whatever text is selected will immediately be pasted into the active window.
*** Bug 156908 has been marked as a duplicate of this bug. ***
Rereading this, I am sorry to say it is not possible without essentially changing the way X11 works with clipboards. Of course, if someone can find a way, please reopen.
well i tried to obtain a hearing on the kde brainstorm forum regarding this topic since it makes me crazy, too. perhaps you can vote so we're getting a chance somebody takes care of it: http://forum.kde.org/brainstorm.php#idea61729
Esben, ad.#7, when you press MMB the clipboard is pasted. And it is done by X11, right? Is there any way to inject some data what is pasted? If yes, it could be done by changing the clipbard and telling X11 to paste the content.
Marciej: No, there is no way. How could there be? It would be a security issue.
I saw it this way, that emulating MMB should be possible (naive thinking) because you can emulate mouse with keyboard (KDE systemsettings).
Yeah, sure, you can send a middle mouse click to the application, but there is no way to ensure that the result will be a paste. I will not implement hacks like that; we would get way too many bug reports.
*** Bug 249563 has been marked as a duplicate of this bug. ***