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 759493 - Provide keyboard shortcuts window
Provide keyboard shortcuts window
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
3.20.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-12-15 13:39 UTC by Frederic Crozat
Modified: 2019-06-21 15:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frederic Crozat 2015-12-15 13:39:01 UTC
Although Evolution has a QuickReference, it should be replaced by a ShortcutWindow, now that GTK+ has support for it.

More details can be found here: https://wiki.gnome.org/Initiatives/GnomeGoals/ShortcutWindows
Comment 1 Milan Crha 2016-01-29 11:35:02 UTC
Thanks for a bug report, but I'm not much keen into this. the first line in the Guidelines section of the link you gave above reads:
> If an application has more than a few shortcuts, and doesn't have a menu bar,
> it should include a shortcuts window.

The Evolution has the menu bar.

I'm also afraid that the Evolution is too complex for this window (too many items where users can set their own shortcuts as well).
Comment 2 André Klapper 2017-03-20 20:20:55 UTC
Does GTK's ShortcutWindow actually reads the configuration everytime, or does it hardcode (as shortcuts can be customized, see bug 770141)?
Comment 3 André Klapper 2017-03-20 20:22:00 UTC
s/bug 770141/bug 780329/ in my previous comment
Comment 4 Daniel Boles 2017-03-20 20:25:04 UTC
The GtkShortcuts* widgets are a pain to use in code, because there is no proper API, so you have to poke at GObject properties. I have an open bug for normal API to be added: https://bugzilla.gnome.org/show_bug.cgi?id=770377

Still, if you're OK with doing lots of GObject sets, then it's doable. That bug has an example that I added of how to get a simple GtkShortcutsWindow and children working in C.

I only do this in my app for add-once shortcuts, which are set at startup (alongside the corresponding GActions etc) and then left alone for the entire run, but it's probably possible to remove and readd dynamically.

(or you could be wasteful and rebuild the entire thing every time something changes! but probably better not to ;)
Comment 5 André Klapper 2018-09-29 10:09:50 UTC
There is no quick reference pdf anymore. Shortcuts are in
https://gitlab.gnome.org/GNOME/evolution/blob/master/help/C/intro-keyboard-shortcuts.page
now.

I would not spend time on a shortcuts window until its new location is sorted out, as the app menus will be removed for 3.32. See
Also see https://mail.gnome.org/archives/desktop-devel-list/2018-September/msg00018.html
Comment 6 Milan Crha 2019-06-21 15:17:46 UTC
I added Keyboard Shortcuts into the Help menu, with shortcuts similar to those in the User Guide.

Created commit [1] in evo master (3.33.4+)

[1] https://gitlab.gnome.org/GNOME/evolution/commit/f41a317fb4