News for hackers. Stuff that matters.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by quchen on Tuesday August 27, 2013 @06:40AM (#6282602)
Before this thread starts to become a rant about Gnome developers again, I'd like to mention that I find middle-mouse pasting annoying and I would appreciate an option to disable it in X. What the Gnome devs did was just inverting the setting without providing an option for it, which is a pretty awful idea.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by werid on Tuesday August 27, 2013 @07:28AM (#6282774)
> What the Gnome devs did was just inverting the setting without providing an option for it, which is a pretty awful idea.

Gnome devs don't like to give the user options.

Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by buster on Tuesday August 27, 2013 @07:31AM (#6282779)
Agreed in that this needs to be an option. I'm using the middle mouse paste very often, it's such a nice and easy thing to have.. Do i want a "text context" menu? No. I'd enable the mouse-click paste again..
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by probably_wrong on Tuesday August 27, 2013 @06:59AM (#6282667)
I'm interested in why you'd like to see an option to disable it, considering that you could just as well not click the button. Is there something in your daily workflow that leads to lots of accidental presses?
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by smackay on Tuesday August 27, 2013 @07:13AM (#6282721)
My mouse has a scroll wheel which also doubles as the middle button when clicked. When scrolling through text, a little too much pressure and you end up pasting code all over the place. It's a monumental pain in the ass when dealing with code and requires minute checking all of changes in case an errant paste makes into the repository.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by pwg on Tuesday August 27, 2013 @07:32AM (#6282789)
> My mouse has a scroll wheel which also doubles as the middle button when clicked. When scrolling through text, a little too much pressure and you end up pasting code all over the place.

I would submit that this is not a problem with middle click to paste, but rather a problem with a bad hardware design for the particular mouse you are utilizing. The true solution is to replace the badly designed mouse with a better mouse.

Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by coffeeaddicted on Tuesday August 27, 2013 @08:20AM (#6282963)
Hm, I had the same problem now with several mice. I mean scroll wheel = button seems to be pretty standard this days. And I even fight with the same trouble often enough - accidentally pasting stuff into code without noticing. The only problem with disabling the middle-mouse button for me would be that it's the only way to copy-paste from consoles. Which again already doesn't work when trying to paste into the browser so I already must often do something like - copy with middle mouse button from console to some texteditor, copy it there into that other buffer - and then paste in the browser. Not to mention the regular guessing about which application will work with middle mouse button and which won't and which won't work with the other copy-paste. It's rather a mess right now in X.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by jbri on Tuesday August 27, 2013 @08:48AM (#6283055)
Most mice I've used require a substantial amount of pressure on the scroll wheel in order to depress it and count as a click. Additionally, there's a noticeable (both tactile and audible) response when a click on the scroll wheel happens.

If the mice you're trying don't have those, and it's very easy for you to inadvertently press the middle button, then that does seem like a pretty major design flaw. If you're always buying mice from the same manufacturer, perhaps investigating a different brand is in order?

If getting better-designed hardware isn't an option, then I guess the alternatives would be improving your finger control so that you don't accidentally click the button while scrolling, or disabling it in software so that it doesn't matter. Honestly though disabling it and missing out on that functionality entirely seems like the worst of those choices.

Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by coffeeaddicted on Friday August 30, 2013 @06:37AM (#6301039)
I also loved the feature once madly, just lost that love at some point. Maybe I'm just more used to pressing middle-mouse all the time for other reasons as Blender uses it for navigation (as well as other 3D tools I'm working with).
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by sergiosgc on Tuesday August 27, 2013 @04:31PM (#6286079)
Gnome terminal accepts Shift-Control-C and Shift-Control-V for copy/paste.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by brokenparser on Tuesday August 27, 2013 @07:31AM (#6282786)
Buy a better mouse, a B100 is just $13 at Newegg. The cheapest is almost $5 and it'll probably work just fine.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by lcedp on Tuesday August 27, 2013 @08:56AM (#6283085)
Middle mouse button is used for a lot things - paste, new tab click, scroll. If your mouse is prone to misclicks it's a shitty mouse. Disable middle button at all then.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by tterrace on Tuesday August 27, 2013 @07:24AM (#6282751)
I've accidentally pasted lines with --username --password into source files because of a sensitive scroll wheel... That's pretty embarrassing in code review.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by PommeDeTerre on Tuesday August 27, 2013 @07:45AM (#6282851)
Wouldn't your own personal pre-peer-review review have caught that?
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by ars on Tuesday August 27, 2013 @09:04AM (#6283130)
Plus you should be checking diffs before committing anything.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by brokenparser on Tuesday August 27, 2013 @08:51AM (#6283069)
It's generally a good idea to use git add -p, even without a sensitive scroll wheel.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by ANTSANTS on Tuesday August 27, 2013 @10:17PM (#6287639)
In most web browsers, middle click closes tabs, opens links in new tabs, and on Windows, starts an automatic "scroll follows mouse" mode. I seem to remember that at one point, Chromium on Linux would interpret middle clicking on an unclickable part of the page to mean "interpret the text stored in the clipboard as a URL or search term, and go to it." Imagine the fun I had with the occasional misclick of a link before I found an extension that implements Windows-like middle click scroll.

The only time I ever intentionally use middle click paste is when using the terminal where, you know, Ctrl-C and Ctrl-V are already taken. An option to disable middle click paste for everything but terminal emulators could only be a benefit, removing a rare but ever present source of confusion and mistakes.

Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by claudius on Wednesday August 28, 2013 @12:07PM (#6290871)
> Chromium on Linux would interpret middle clicking on an unclickable part of the page to mean "interpret the text stored in the clipboard as a URL or search term, and go to it." Imagine the fun I had with the occasional misclick of a link before I found an extension that implements Windows-like middle click scroll

Opera does that, too, and I love it. No need to focus the address bar after selecting text, just click and go :)

Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by latk on Tuesday August 27, 2013 @07:04AM (#6282685)
For me: a touchpad as the primary pointer input device. I use two fingers for scrolling and a two-finger tap as middle mouse button clicks. I really like that setup for web browsing, but it frequently messes up code in the editor.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by claudius on Tuesday August 27, 2013 @08:09AM (#6282929)
I guess it depends on the hardware used – I mostly use one of these external Thinkpad-like keyboards with three dedicated buttons and a track point and never accidentally middle-paste.

But I guess if middle-click never does anything useful for you (Windows, Mac), you might prioritise it less in your hardware design :|

Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by ANTSANTS on Tuesday August 27, 2013 @10:25PM (#6287659)
It does do useful things on Windows. There are the browser behaviors I mentioned above. Most image editors use middle click to pan, and I think 3D modeling programs use it to rotate and pan as well. It's only in dedicated text boxes that middle click does nothing useful, but we're all so used to Ctrl-C and Ctrl-V that we don't have any desire to use that button for pasting.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by claudius on Wednesday August 28, 2013 @12:05PM (#6290855)
Certainly, but those are all related to holding the middle mouse button and moving the mouse, not clicking per se. Similar behaviour is available on X with something like:

  	Option		"EmulateWheel"		"on"
  	Option		"EmulateWheelButton"	"2"
  	Option		"XAxisMapping"		"6 7"
  	Option		"YAxisMapping"		"4 5"
Which is exactly the way I scroll: Hold the middle button and move the trackpoint.
Re:GNOME Developers Hate the Mouse, Remove Middle-Click Paste by betterunix on Tuesday August 27, 2013 @08:19AM (#6282958)
I was going to respond to a link detailing how to disable it, but was shocked to find no answers after a few minutes of Googling. I like the feature but absolutely agree with you: there should at least be a way to disable it in xorg.conf.