After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733164 - Command-H Invokes Help->Help Contents
Command-H Invokes Help->Help Contents
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
2.6.3
Other Mac OS
: Normal normal
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
Depends on:
Blocks:
 
 
Reported: 2014-07-14 15:01 UTC by John
Modified: 2018-06-29 23:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John 2014-07-14 15:01:08 UTC
On Mac OS X, the keyboard shortcut hint for Help->Help Contents is F1 and the hint for GnuCash->Hide GnuCash is Command-H. However, both of these shortcuts invoke Help Contents, so there is no way to hide the application with a single key press.
Comment 1 Richard Holmes 2016-03-17 23:24:34 UTC
In fact cmd-H does hide the application. However it also opens the manual (file://localhost/Applications/Gnucash.app/Contents/Resources/en.lproj/Gnucash%20Guide/index.html). So it is still true that "there is no way to hide the application with a single key press" in the sense that one must close the browser tab where the manual has opened.

I note this bug is coming up on two years old. Seems to me it shouldn't take two years to fix.
Comment 2 John Ralls 2016-03-17 23:58:15 UTC
Yeah, that's what I said.

In fact it's so easy to fix that you can do it yourself: Make sure GnuCash isn't running, then edit $HOME/Library/Application Support/Gnucash/accelerator-map. TextEdit will work fine as an editor. You may need to enable "Show Library Folder" in Finder's View Options when visiting your home folder (the one with the same name as your userid) to navigate to it.
Search for "HelpTutorialAction" (it should be line 169). Remove the ';' from the beginning and the <Primary>h from between the quotes at the end. Save the file as plain text. When you restart GnuCash command-h will no longer open help.
Of course if help is already open in the browser it will stay open; I know of no way to get the browser to close it from inside GnuCash.

I've also made that change to the accel-map that's included with GnuCash, but that will only affect new installations; it won't overwrite the file you already have in case you've made other customizations.
Comment 3 Richard Holmes 2016-03-18 00:36:38 UTC
Thanks, that works. (Although it was line 185 in my case.)
Comment 4 John Ralls 2018-06-29 23:31:57 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=733164. Please update any external references or bookmarks.