Mac OS accelerator keys

Deva - pobox.deva at outlook.in
Thu Sep 14 08:18:32 EDT 2017


Thanks for the clarification, John.

I will make sure all shortcuts use only <Primary> tag to go with the <command> key.

Cheers,
Deva

------------------------------

Message: 9
Date: Wed, 13 Sep 2017 11:20:48 -0400
From: John Morris <johnjeff at editide.us<mailto:johnjeff at editide.us>>
To: gnucash-user mailinglist <gnucash-user at gnucash.org<mailto:gnucash-user at gnucash.org>>
Subject: Re: Mac OS accelerator keys
Message-ID: <2E842294-A7B3-4F22-A84B-DF166A5D5B3D at editide.us<mailto:2E842294-A7B3-4F22-A84B-DF166A5D5B3D at editide.us>>
Content-Type: text/plain; charset=us-ascii

On Sep 13, 2017, at 4:35 AM, Deva - <pobox.deva at outlook.in<mailto:pobox.deva at outlook.in>> wrote:

One peculiar observation though. I used <Primary> as a tag on some shortcuts while tagging the others with <Meta>. I was expecting the <Primary> ones to invoked by using <command>+key and the <Meta> ones to be invoked by using <Alt>+key.

However, on launching gnucash, all menu options get converted to <command>+key and can be invoked only by the <command> key (even the ones meant for invoking by the <Alt> key).

So, I closed gnucash and went back and looked the accelerator-map file again. And it looks like all the lines I edited with the <Meta> tag have been converted back to use <Primary> tag.

 I suspect that this is due to the fact that, on a Mac, the option key cannot be used by itself to fire a command. All "normal" keyboard shortcuts on a Mac must involve at least one of the Command or Control keys. There are apparent exceptions to this rule, but they are all either special functions of the operating system (such as accented characters) or specially programmed features in particular applications (such as using unmodified keys to access tools in various drawing programs).

Best,
John


More information about the gnucash-user mailing list