[posted to both devel and user lists, sorry to those on both]
Hi All,
Geany currently hard codes two actions to the <ctrl>-<left mouse down> input, "goto tag" if the click is over an identifier or "goto matching brace" otherwise.
This blocks the standard action of "add to selection" on <ctrl>-<left click> and <ctrl>-<left drag>. (See Gnome HIG http://developer.gnome.org/hig-book/2.32/hig-book.html#input-mouse 10.1.2)
I did a quick check on my system and didn't find any application that did not comply with that guideline, so Geany is the odd one out.
Geany has not supported multiple selections so it hasn't been an issue (other than being non-standard and occasionally confusing users), but as there is a proposal to add support for multiple selections to Geany this non-standard behavior is now a problem.
As both actions now have a default keybinding (in Git version) I propose that the binding to <ctrl>-<left mouse down> simply be removed.
Cheers Lex
Hi,
Le 24/05/2012 03:27, Lex Trotman a écrit :
[posted to both devel and user lists, sorry to those on both]
Hi All,
Geany currently hard codes two actions to the <ctrl>-<left mouse down> input, "goto tag" if the click is over an identifier or "goto matching brace" otherwise.
This blocks the standard action of "add to selection" on <ctrl>-<left click> and <ctrl>-<left drag>. (See Gnome HIG http://developer.gnome.org/hig-book/2.32/hig-book.html#input-mouse 10.1.2)
I did a quick check on my system and didn't find any application that did not comply with that guideline, so Geany is the odd one out.
Geany has not supported multiple selections so it hasn't been an issue (other than being non-standard and occasionally confusing users), but as there is a proposal to add support for multiple selections to Geany this non-standard behavior is now a problem.
As both actions now have a default keybinding (in Git version) I propose that the binding to <ctrl>-<left mouse down> simply be removed.
Your arguments looks sensible to me, as does the ones from Dimitar in the other thread (that this Ctrl-LMB has too many things bound to it). Of course it'd be better if we had configurable mouse bindings, but that's another story.
I also think that if we want to keep a mouse binding for "go to tag", we could choose something less common -- Ctrl+Alt, Super, whatever uncommon modifier. Do we want to keep one?
Finally, although it's probably obvious, the multi-select feature should have a keybinding.
Regards, Colomban
PS: funny thing, I just discovered that Mozilla apps did support multi-selection :)