geany icon indicating copy to clipboard operation
geany copied to clipboard

Add an option to disable middle-click paste

Open sylphenix opened this issue 3 years ago • 4 comments

I have a sensitive and soft mouse wheel. It always accidentally paste stuff to break my code. I can't find an easy solution for this yet. I'd like to have an option to disable this behavior.

sylphenix avatar Mar 02 '22 14:03 sylphenix

Middle mouse paste is built into the Scintilla editing widget Geany uses which does not have an option.

elextr avatar Mar 03 '22 00:03 elextr

https://unix.stackexchange.com/questions/24330/how-can-i-turn-off-middle-mouse-button-paste-functionality-in-all-programs

mixmastamyk avatar Mar 16 '22 21:03 mixmastamyk

Note that the desired functionality sylphenix requested is NOT necessarily 100% synonymous with the unix stackexchange link, as the latterrefers to all programs. For instance, quick copy/pasting may still be useful on a terminal such as KDE konsole, whereas it may be more annoying in editors. So I think the question should be whether the time investment for this option is worth it or not. I think it may be useful under a mouse/scroll settings/options.

rubyFeedback avatar Mar 24 '22 23:03 rubyFeedback

It might be possible for a plugin to intercept the GTK middle click signal before it gets to Scintilla, somebody could try.

elextr avatar Mar 25 '22 00:03 elextr