This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Feature Request - Klipper - Stack Paste

13

Votes
16
3
Tags: klipper, paste klipper, paste klipper, paste
(comma "," separated)
jarmoj
Registered Member
Posts
4
Karma
0
OS
Say, I paint with a mouse and copy the following words, separately:

A
cat
ran
over
a
mat.

And now they are in the Klipper clipboard.

I sometimes might want to paste so that the first click will paste "A", second click "cat", third "ran", ...

The Stack Paste could work by default if some modifier key was pressed down when pasteing.

Sometimes the Stack Paste comes necessary when there is a set words to copy and they have to be pasted in separate locations. This way the copying phase and the paste phase can be separated nicely.

EDIT: Added: separately. As noted below, the copy phase is not changed from the old behavior, only the paste phase is. The words are copied separately as separate entries into the clipboard, not in one go.

Last edited by jarmoj on Tue Sep 07, 2010 2:37 pm, edited 3 times in total.
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
Since this is a feature request I moved it the brainstorm forum. Please put future feature requests there. Thank you.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
uetsah
Registered Member
Posts
11
Karma
0
Do you mean that a single clipboard item (i.e. a single text selection potentially consisting of multiple lines) should be allowed to be pasted as separate chunks which are split at newline boundaries, or that multiple distinct clipboard items (i.e. multiple independent selections) should be allowed to be pasted consecutively using a modifier key?
jarmoj
Registered Member
Posts
4
Karma
0
OS
uetsah wrote:Do you mean that a single clipboard item...


Funny that you should ask that. I was just reading what I wrote an hour ago, and thought the same.

I meant that you first copy separate words as separate entries into the Klipper, and then you paste them separately.

The example was a poor one at that.
uetsah
Registered Member
Posts
11
Karma
0
jarmoj wrote:I meant that you first copy separate words as separate entries into the Klipper, and then you paste them separately.


In this case, you got my vote...

I would also find that quite useful. I already make use of the distinction between "selection + middle click paste" and "actual copy + actual paste" quite often to be able to copy two things consecutively, and afterwards paste them consecutively.

With this feature, this task would become easier and more consistent, and it would be possible to hold more than two consecutive items.

I see three different possibilities for using a modifier key to achieve this (note the different order of pasted items):

COPY1 COPY2 COPY3 COPY4 while_modifier_key_pressed{ PASTE4 PASTE3 PASTE2 PASTE1 }

or

while_modifier_key_pressed{ COPY1 COPY2 COPY3 COPY4 } PASTE1 PASTE2 PASTE3 PASTE4

or

while_modifier_key_pressed{ COPY1 COPY2 COPY3 COPY4 } while_modifier_key_pressed{ PASTE1 PASTE2 PASTE3 PASTE4 }
The User
KDE Developer
Posts
647
Karma
0
OS
I would call it “Queue Paste”. ;)
jarmoj
Registered Member
Posts
4
Karma
0
OS
The User wrote:I would call it “Queue Paste”. ;)


I like it. Makes more sense to more people and sound better, also like the original.

The stack is closer to programming, hence...

Anyone else give it a shot? :)
The User
KDE Developer
Posts
647
Karma
0
OS
I would say, especially for programmers it makes more sense:
http://www.cplusplus.com/reference/stl/queue/
http://doc.qt.nokia.com/stable/qqueue.html

;)

Btw: +1
Dietr1ch
Registered Member
Posts
4
Karma
0
OS
I think that a append copy should be better as it don't consume so many clipboard you 'slots' and with it you can achieve almost the same goal. Actually you don't get to paste the individual parts, but you are probably interested just on getting all together.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]