Nessesarius / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Rapid middle clicks treated as double left clicks with TXMouse #299

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I use TXMouse (http://fy.chalmers.se/~appro/nt/TXMouse/) which allows me to 
paste text using the middle mouse button like on X11. However, rapidly pasting 
the same text several times results in mintty thinking it is a left mouse 
button double click, and proceeds to select text that is in the terminal, then 
paste that new text instead.

Original issue reported on code.google.com by sam@hocevar.net on 18 Oct 2011 at 7:38

GoogleCodeExporter commented 8 years ago
Mintty pastes on middle click without additional utilities, but I guess you 
want that behaviour throughout Windows. The effect you describe doesn't happen 
without TXMouse, so I'll need to try it to see what events are being sent to 
mintty.

Original comment by andy.koppe on 19 Oct 2011 at 5:18

GoogleCodeExporter commented 8 years ago
I've now reproduced this, on Win7-64. However, as far as I can see, this isn't 
a mintty issue, because middle-click pasting behaves weirdly with other windows 
too.

Looking at the window events delivered to mintty when the middle button is 
pressed, it's getting a Shift+Insert keypress, which triggers the paste, but 
it's also getting a left click, which is clearly wrong.

TXMouse hasn't been updated since 2005, so perhaps it doesn't work properly on 
Vista and above, or perhaps it doesn't get along with certain mouse drivers 
such as the Synaptics touchpad driver here on my laptop.

Original comment by andy.koppe on 19 Oct 2011 at 7:59