! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Put selections in history but not sync with default clipboard
Status:
CLOSED: FIXED
Product:
Xfce4-clipman-plugin
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2009-04-25 15:56:19 CEST
Hi,

since 1.0.0, clipman doesn't manage anymore two buffers (it seems). On can ignore selections and only use GTK+ clipboard, or add the selections to that buffer.

That's a problem because, if you still want to use selection, if you select something copy it (Ctrl+C) and paste it somewhere *replacing some text* (most frequent usage for me is to paste an url in the url bar), well, you end up pasting what you just selected.

I know it might be tricky to find a correct solution, but it'd be really appreciated.

Thanks,
Comment 1 Mike Massonnet editbugs 2009-04-25 20:53:16 CEST
Part of this change was bug #4815.

If you wish to separate default/primary clipboards don't check the "Add selections" option. In 1.0.1 this option will be slighly renamed (the toolip). Is that ok for you, or do you hit other oddies if you use clipman without that option?

In fact the option now makes the primary clipboard sync with the default clipboard.
Comment 2 Mike Massonnet editbugs 2009-04-25 20:59:34 CEST
Bon, I get it that the option you had be looking for would be to add the selections to the history (which is not a good option IMHO) but don't sync the primary clipboard with the default one.
Comment 3 Yves-Alexis Perez editbugs 2009-04-25 21:07:51 CEST
I just want the selection not to replace the currently available item in the
clipboard (when I paste with Control+V). I don't know the technical stuff, I'm
just speaking usability, so I'm not sure I'm really clear :)
Comment 4 Mike Massonnet editbugs 2009-04-25 21:18:57 CEST
The option I mentionned, Add selections in the General tab, does indeed replace the default clipboard. For a reminder, there are two selections in X11, the default (manual copy/pastes e.g. ctrl+v) and the primary (selections e.g. with the mouse). I doubt I will change the behavior or add an option. I will leave this bug open for rethinking.
Comment 5 Yves-Alexis Perez editbugs 2009-04-25 21:35:40 CEST
Well, “selection” is the usual X11 clipboard and pretty much every unix user expects it to be there, even before the ^C/^V stuff. It has to be here, imho, and that's why I check the “add selections” to the list.

But I just don't want them to override the GTK+ keyboard (while I do accept that ^C overrides the “selection” clipboard).
Comment 6 Mike Massonnet editbugs 2009-04-26 20:08:19 CEST
"Fixed" with the small change in r7287

Bug #5294

Reported by:
Yves-Alexis Perez
Reported on: 2009-04-25
Last modified on: 2012-04-09

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information