Re: [Gtk-osx-users] accelerator problem with GtkOSXApplication

On Feb 13, 2011, at 1:32 PM, Olivier Sessink wrote:

> Hi all,
> after I moved to GtkOSXApplication I have an issue with the menu accelerators.
> issue 1) menu accelerators use <control> instead of <command>, with
> ige-mac-integration everything was automatically converted to
> <command>. I did not set
> gtk_osxapplication_set_use_quartz_accelerators() (since that is
> enabled by default, right?)
> issue 2) <alt><control>X and <control>X are mapped to the same
> accelerator <control>X (e.g. <control><alt>c is now activated with
> <control>c, and both menu items show <control>c as accelerator)
> any ideas?

Accelerator mapping in GtkOSXApplication is handled the Gtk way, with GtkAccelMaps. This is mentioned in the GtkOSXApplication documentation.

Option/Alt is handled a bit too generically in gdk-quartz, where it's used for i18n regardless of context and consequently ignored when used as an accelerator. Ideally this handling should only occur in the input method, but I haven't figured out how to do that yet and Kristian Reitveld doesn't think it's important enough to do anything about. If anyone knows enough about the simple input method to write a patch to fix this it would be most welcome. Post it to

John Ralls

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]