#573 Mouse wheel 'click' pastes clipboard contents

0.8b1
open
nobody
Editor (27)
6
2010-02-09
2010-02-07
No

It might seem a great idea to be able to paste clipboard contents to the cursor just by clicking the mouse wheel (where that doubles as the middle button, as it does in the standard Microsoft mice). However, if you use the mouse wheel at all for scrolling, this particular function is effectively a pretty virulent bug, because if you tend to have a finger on the scroll wheel and use that for scrolling here and there, you are liable now and again to press too much on it and inadvertently insert the current clipboard contents. In my experience this can go unnoticed if the clipboard contents at that point are minimal, BUT if the cursor is in a part of the document that you've scrolled away from and is outside the screen area you could easily paste major items, and any number of times, according to how often you inadvertently press too much on your mouse wheel - and it has happened to me. This was a problem in v.0.7.10, and it's just happened to me in the 0.8b1 version too.

I do have a workaround - to use the About:config add-on (whose install.rdf file I think I had to edit to make it work with this version of KompoZer), for reconfiguring the middlemouse.paste parameter to "false".

I'm submitting this as a bug report rather than feature request, because the default setting is potentially so troublesome (and potentially destructive to one's web pages) for anyone who has a mouse wheel that doubles as the middle button.

For safe working it is necessary that middlemouse.paste be OFF (i.e. "false") by default, and if the ON option is required to be readily available to users, that needs to be included in KompoZer's Tools > Options.

Discussion

  • Fabien Cazenave (kaze)

    On which platform have you seen this behavior?

    Pasting with a middle-click is standard on all Linux distros. Being a happy Linux user myself, I can't complain about that — but if that happens on Windows or MacOSX, this "middlemouse.paste" preference should probably be set to "false" on these platforms.

    Raising priority to 6.

    — Kazé, Kompozer lead dev

     
  • Fabien Cazenave (kaze)

    • priority: 5 --> 6
     
  • Philip Goddard

    Philip Goddard - 2010-02-10

    Sorry I omitted to mention. I'm using Win7 Home Premium, 32-bit.

    Yes, I'm not suggesting that paste on middle-click is wrong in itself, but the real problem is with mice (of which there's a great number around, as it's the standard MS mouse design) in which the scroll wheel doubles as middle button. I think the issue here isn't which platform one is using but simply what design of mouse one has. If paste on middle-click is standard Linux convention, I would respectfully suggest that that is still not really compatible with any mouse that has a scroll wheel doubling as middle button, and there would always need to be easy means to change that behaviour.

    Many thanks for all your hard work, Kazé!

    Many thanks,
    Philip.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks