<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-05-08 9:46 GMT+02:00 Thomas Martitz <span dir="ltr"><<a href="mailto:kugel@rockbox.org" target="_blank">kugel@rockbox.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am <a href="tel:08.05.2014%2009" value="+390805201409" target="_blank">08.05.2014 09</a>:09, schrieb Alessandro Pasotti:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2014-05-08 8:42 GMT+02:00 Lex Trotman <<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a> <mailto:<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>>>:<div class=""><br>

<br>
    On 8 May 2014 16:30, Alessandro Pasotti <<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a><br></div><div class="">
    <mailto:<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>>> wrote:<br>
    > 2014-05-08 2:23 GMT+02:00 Lex Trotman <<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a><br></div>
    <mailto:<a href="mailto:elextr@gmail.com" target="_blank">elextr@gmail.com</a>>>:<div class=""><br>
    >><br>
    >> On 7 May 2014 22:36, Alessandro Pasotti <<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a><br></div><div><div class="h5">
    <mailto:<a href="mailto:apasotti@gmail.com" target="_blank">apasotti@gmail.com</a>>> wrote:<br>
    >> > Hi,<br>
    >> ><br>
    >> > I'm not sure it is a geany bug but this is the only GTK<br>
    application I<br>
    >> > use<br>
    >> > and I'm on kubuntu 14.04.<br>
    >> ><br>
    >> > The problem seems the same described here:<br>
    >> ><br>
    >> > <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032119" target="_blank">https://bugs.launchpad.net/<u></u>ubuntu/+source/linux/+bug/<u></u>1032119</a><br>
    >> ><br>
    >> > - Copy-paste with mouse wheel fails<br>
    >> > + Left-click clears PRIMARY buffer selection (Copy-paste with<br>
    middle-<br>
    >> > + button/mouse wheel fails)<br>
    >> ><br>
    >> > To reproduce, try the following steps in gedit, geany or<br>
    jedit (same in<br>
    >> > old<br>
    >> > bug-report):<br>
    >> ><br>
    >> > 1) Select some text, thus copying it to the primary<br>
    >> > copy-paste-buffer-thingy.<br>
    >> > 2) *Left* click somewhere on the document, thus clearing the<br>
    selection.<br>
    >> > 3) Click mouse wheel (middle click).<br>
    >> ><br>
    >><br>
    >> Many people brought up on cut/copy to clipboard and paste do<br>
    not seem<br>
    >> to grasp that the selection is a *selection*, it is not copied to a<br>
    >> clipboard.<br>
    >><br>
    >> The applications that the bug reporters call "working" are<br>
    doing the<br>
    >> wrong thing and copying the selection to the CLIPBOARD or<br>
    internally<br>
    >> preserving it even after it is unselected.<br>
    >><br>
    >> When the middle paste is used it pastes the PRIMARY selection,<br>
    or if<br>
    >> there is no selection pastes clipboard.  So the applications<br>
    doing the<br>
    >> wrong thing will paste (either from their own internal copy or from<br>
    >> clipboard), but those doing the right thing won't.<br>
    >><br>
    >> Cheers<br>
    >><br>
    >> Lex<br>
    ><br>
<br>
<br>
<br>
Funny, it's about 20 years now that I'm using that method to quickly copy-paste under linux using the mouse, just to discover today that it's the wrong one :) Never too late to learn something!<br>
<br>
BTW it's a pity, because I find it much more quick and intuitive than hitting various keyboard combinations like CTRL+SHIF+C or similar.<br>
<br>
Just to be sure, I did some quick tests (I'm on Kubuntu 14.04 64bit):<br>
<br>
mouse copy-paste  works fine (as I expected) in terminal applications like konsole and xterm and works in mozilla FF and thunderbird.<br>
Among IDE's it works fine under kdevelop, netbeans, eclipse kepler.<br>
Ah, it also works in vim (didn't test emacs though).... I'm pretty sure all curses-based apps work.<br>
<br>
Are you really sure that all these applications are doing it the wrong way?<br>
<br>
It seems to me that clearing the selection/buffer when the user start dragging would much better that clearing it on mouse down events.<br>
</div></div></blockquote>
<br>
<br>
I wonder why you even clear the selection with an additional left-click? Just select and middle paste directly.<br>
<br></blockquote><div><br></div></div>I usually don't, but sometimes I do, for example it can happen that I want copy-paste a piece of code but before pasting I notice that I need to type a few charachters, in that case I click in the position, type what I need to type, then paste.<br>
<br></div><div class="gmail_extra">I know this is not a show stopper, but I wonder (left aside discussions about what is wrong and what is not) what tare the advantages/needs  to clear the selection on left click.<br></div>
<div class="gmail_extra"><br><br>-- <br>Alessandro Pasotti<br>w3:   <a href="http://www.itopen.it">www.itopen.it</a>
</div></div>