[Geany-Devel] RFC: Keybindings rewrite

Thomas Martitz kugel at xxxxx
Mon Jun 9 21:54:12 UTC 2014

Am 09.06.2014 22:39, schrieb Yosef Or Boczko:
> Regards,
> Yosef Or Boczko
> בתאריך ב', יונ 9, 2014 בשעה 11:30 PM, Thomas Martitz 
> <kugel at rockbox.org> כתב:
>> Am 06.06.2014 16:24, schrieb Yosef Or Boczko:
>>> I think it better to port to GAction instead of GtkAction (GtkAction
>>> has been deprecated since version 3.10 and will be removed in GTK+ 4),
>>> so it will be ease to port geany to GTK+ 4 in the future.
>>> Also, IIRC, there is a problem with GtkAction, wich cause to some 
>>> accelactors
>>> to work only when the keywoard layout on Englisg.
>>> For example, most of the accelactors in epiphany dosn't work when 
>>> the keywoard
>>> layout is Hebrew, and it will be solved when someone will port 
>>> epiphany from GtkAction
>>> GAction.
>> Can you check if that isn't a bug with Epiphany? And if it occurs in 
>> Geany as well? Geany's approach to keybindings is most trivial (at 
>> it's core it does if (keyval == $KEY && modifier == $MODIFIER)). Gtk 
>> cannot do worse, so I expect it to have something more smart (or be 
>> equally dumb). So it sounds unlikely that Gtk has a locale-related 
>> problem that Geany does not.
> I see the same problem with part of the accelactors in totem (the 
> accels totem handle
> by hand and not by GAction), and btw also somewhere in gnome-shell.
> I'm not sure, but I think gtkkeyhash.c[1] relate to this.

So the keybings totem does by hand don't work but those that are handled 
by Gtk/Glib do work? And what about gnome-shell. It's all Gtk3 so I'd 
expect it to use GAction.

What about current Geany?

Best regards

More information about the Devel mailing list