! 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 !
Clipman paste and selection enhansment
Status:
CLOSED: FIXED
Severity:
enhancement
Product:
Xfce4-clipman-plugin
Component:
General

Comments

Description Sasha Medvedev 2009-09-03 13:20:40 CEST
Hi all. I'd like to say that clipman is grate thing. I save's match time for me. I want add two fitures. First, possibility to past with mouse middle button top clipbord item. Rigth now you can insert only selected item. Second, may be there is the way to determine is item selected by mouse or by programm. If it possible it will be great add only item selected by mouse. I notice than mozilla for example select item when filling forms from history. So if you want to paste somesing you need go to clipboard and select privios item.
Comment 1 Mike Massonnet editbugs 2009-09-03 13:57:26 CEST
Please explain feature one a little further: paste with mouse button the top clipboard item. What exactly should happen when you paste with the mouse?

Feature two: to add only the selections in the history is something I don't see as very important. How many times do you copy by hand (say Ctrl+C)? Does it clutter that much your history? I really don't think so.

And have you seen the option to catch the selections in the history? there is an option for that, which brings me to your use case with Mozilla. If you select the option to "sync the selections" in the settings dialog (right click on the plugin > properties), you will always be able to paste your last selection with ctrl+v or middle click. All in all it seems that what you are requesting is already possible or maybe with a very little variation.
Comment 2 Mike Massonnet editbugs 2009-09-12 01:33:19 CEST
The head had a change with respect to selections, you can comment on it, a screenshot of the settings dialog that gives you an idea is available: http://img151.imageshack.us/i/clipmansettings.png/
Comment 3 Sasha Medvedev 2009-09-14 09:38:04 CEST
I need to explain first feture. Open text editor. Type some text ( abcde ). Now select some text ( bc ). If you press middle mouse button when text is still selected somewhere in the text ( for example at the end ) selected text will be pasted ( you get abcdebc ). But if you press left mouse button somewhere in the text selection disapire and you can't paste text with middle mouse button. But you can still press ctrl+V to paste this text ( bc ). So I think it is useful to paste with middle mouse button not only when text is selected. 

To will try second feture. Thanks for your work.
Comment 4 Sasha Medvedev 2009-09-14 11:19:33 CEST
I tested new feature - ignor selections. It ignores all selections, and I suppose it will be ignor only selections done by programs. But just now I can't reproduce situation when firefox select something by itself in forms. May be this was bug in firefox or result of my bad configuration. So jast now I can't find situation when this option is usable for me. So may be we don't need it.
Comment 5 Mike Massonnet editbugs 2009-09-17 19:04:10 CEST
The option was actually asked from other people so it will stay. It helps to add the selections to the history without doing the "sync selections" feature.

I tested the selection/paste/deselect/paste issue and I can acknoledge it. However, it is the default behavior. When you deselect something the selection will be empty thus pasting with middle click mouse won't paste anything. The older versions of clipman all came with different hacks of a "daemon" that did the following: listening on selection changes, compare it to the previous selection and did something (add to history, ...), and if it was empty they copied the old selection back to it. The recent version 1.1.x uses a daemon that does a better job for restoring the clipboard but it doesn't take the selection into account. I don't put a promise, but I'll have a look at how this could be done with the new daemon.
Comment 6 Yves-Alexis Perez editbugs 2009-09-28 13:30:06 CEST
(In reply to comment #5)
> The option was actually asked from other people so it will stay. It helps to
> add the selections to the history without doing the "sync selections" feature.
> 
> I tested the selection/paste/deselect/paste issue and I can acknoledge it.
> However, it is the default behavior. When you deselect something the selection
> will be empty thus pasting with middle click mouse won't paste anything. The
> older versions of clipman all came with different hacks of a "daemon" that did
> the following: listening on selection changes, compare it to the previous
> selection and did something (add to history, ...), and if it was empty they
> copied the old selection back to it. The recent version 1.1.x uses a daemon
> that does a better job for restoring the clipboard but it doesn't take the
> selection into account. I don't put a promise, but I'll have a look at how this
> could be done with the new daemon.

Do you have some news about this? Current 1.1.0 is really a pain to use wrt. that.
Keeping selections in memory even when the initial text has been deselected was my primary use for a clipboard manager, so without it it's a bit useless.

Master is really better in that matter, except that, even with “ignore selections”, if you copy something by selecting it + doing control+c, and then select something else, when you paste you paste the selection and not the copied buffer (even if, in the history, the arrow is on the text copied using control+c).

So, anyway, do you have an ETA for releasing master?
Comment 7 Mike Massonnet editbugs 2009-09-28 13:43:55 CEST
(In reply to comment #6)
> Do you have some news about this? Current 1.1.0 is really a pain to use wrt.
> that.
> Keeping selections in memory even when the initial text has been deselected was
> my primary use for a clipboard manager, so without it it's a bit useless.
> 
> Master is really better in that matter, except that, even with “ignore
> selections”, if you copy something by selecting it + doing control+c, and then
> select something else, when you paste you paste the selection and not the
> copied buffer (even if, in the history, the arrow is on the text copied using
> control+c).

I will have to figure that one when I get some spare time. 

> So, anyway, do you have an ETA for releasing master?

When I get some spare time, lately I waited a bit for the translation teams to catch up with the few new strings. I will put into my todolist to release the latest revision and it should be done during this week.
Comment 8 Yves-Alexis Perez editbugs 2009-09-28 13:53:54 CEST
(In reply to comment #7)
> (In reply to comment #6)
> > So, anyway, do you have an ETA for releasing master?
> 
> When I get some spare time, lately I waited a bit for the translation teams to
> catch up with the few new strings. I will put into my todolist to release the
> latest revision and it should be done during this week.

Cool, thanks!
Comment 9 Mike Massonnet editbugs 2009-10-28 16:23:10 CET
Status > Resolved. Rest of the comments has been reported in a separate entry.

Bug #5729

Reported by:
Sasha Medvedev
Reported on: 2009-09-03
Last modified on: 2012-04-09

People

Assignee:
Mike Massonnet
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information