[Geany-devel] Super modifier in keybindings - Re: Strange Geany behavior

Nick Treleaven nick.treleaven at xxxxx
Thu Jul 30 10:37:09 UTC 2009

On Thu, 30 Jul 2009 20:05:01 +1000
Lex Trotman <elextr at gmail.com> wrote:

> Hi,
> I have a really strange problem with Geany.
>  Using Geany 0.17 standard install on open suse 11.0, logged in as a
> different user to where I was developing Geany so there is no leakage
> from development versions.
> When typing 's' the save as dialog pops up??  I have a keybinding
> <super>s for save as but undefining it didn't fix the problem but it
> did let me check that <super> isn't stuck on.  It seems to depend on
> Geany a <super> keybinding existing when Geany is opened.
> I can turn the problem on and off by closing Geany with the <super>s
> keybinding defined and next time I open Geany typing s invokes the
> keybinding.
> If I undefine the keybinding and close and re-open the problem has gone away.
> Its like the <super> is permanently defined so when there is a
> keybinding using it then typing just the character s is interpreted as
> <super>s.
> I tried defining several <super><character> keys and all of them react
> the same way, when first defining the keybinding all is well, but on
> closing and re-opening Geany the strange behavior starts.  Removing
> the keybinding does not fix the problem until Geany is closed and
> re-started.  So the problem may be in the load of keybindings.
> ~/.config/geany/keybindings.conf contains the <Super>s as expected.

I'm not clear, does pressing a <Super>s keybinding actually work at
first (and s works normally)? What is the exact string shown in the
keybinding prefs treeview?

On my system I just found I can't even set a <Super>s binding, the
dialog just picks up 's'. It understands the Super key on its own, but
not as a modifier. (I have GTK 2.12.5, Xfce 4.4).

I had a look at kb_keytype_dialog_response_cb(), perhaps it's a GDK bug?


More information about the Devel mailing list