Re: improve PRIMARY buffer copy-paste behaviour, paste over

"Thomas Kluyver" <[email protected]>
Newsgroups gmane.linux.xdg.devel
Message-ID <[email protected]>
On Fri, Mar 6, 2020, at 11:26 AM, Johannes Thrän wrote:
> I'd like the middle mouse click to also be able to do that, i.e:
> 
> 1. select text (not drag)
> 
> 2. in another window select some other text, hold click
> 
> 2a, middle mouse click.
> 
> ... release.

I think that's what I was trying to describe as well - it seems the terminology is a bit tricky. ;-) I understand 'drag' as 'moving the mouse while holding a mouse button down', which could be used to make a selection or to drag & drop.

One thing that might get broken: creating a selection with the keyboard (shift + arrow keys) and then middle clicking to paste it somewhere else. When you select with the keyboard, there's no mouse up event, and no other obvious event to mean a selection is 'finished'. Maybe this is an unusual pattern, but I bet there are some people who do it.

Maybe the answer to that is just to say that PRIMARY is updated when either the mouse button is released, or the selection is changed with the keyboard.

Thomas
_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.