GNOME Bugzilla – Bug 740844
Use keyboard shortcuts to improve navigation
Last modified: 2017-04-17 18:20:40 UTC
It would be very nice to have Calendar completely keyboard navigatable. Shortcuts should be applied (but not limited) to: - Navigate between views (maybe using Ctrl+PgUp & Ctrl+PgDown) - Navigate inside view cells (maybe using the arrows keys) - Select events without the mouse pointer - Change the date range - Go back to today These are just raw ideas. Input from the design team is needed (and very welcomed).
How about switching to next and previous in f.ex. the month view using the scroll wheel? I actually tried doing that to look at next month, kinda instinctively…
- Flipping through months (and weeks) with PgUp/PgDown. Going back to "today" could use the "Home" key.
(In reply to Georges Basile Stavracas Neto from comment #0) > It would be very nice to have Calendar completely keyboard navigatable. > Shortcuts should be applied (but not limited) to: > > - Navigate between views (maybe using Ctrl+PgUp & Ctrl+PgDown) > - Navigate inside view cells (maybe using the arrows keys) > - Select events without the mouse pointer > - Change the date range > - Go back to today > > These are just raw ideas. Input from the design team is needed (and very > welcomed). We are using Alt + left/right arrow key to switch between months and years in month and year view mode respectively, we can use Alt + Up/Down to switch between views too.
Created attachment 323388 [details] [review] window: modify the controls to switch between views In this commit, we change the shortcut keys to switch between views. The present control keys require to press Ctrl + Page Up/Page Down to switch between views and Alt + Left/Right to switch between months/years in the views. We are not using the Alt + Up/Down to do anything specific. For the entire controls to be operated with Alt alone, we changed the controls to switch between views to Alt + Up/Down from Ctrl + Page Up/Page Down.
Review of attachment 323388 [details] [review]: I'm not in favor of changing these shortcuts now. We're too late in the cycle. Also, it needs some feedback from the Design Team. Besides these issues, it should've updated the shortcuts window. ::: src/gcal-window.c @@ +1543,3 @@ gcal_window_add_accelerator (app, "win.next", "<Alt>Right"); gcal_window_add_accelerator (app, "win.previous", "<Alt>Left"); + //gcal_window_add_accelerator (app, "win.today", "<Alt>Down"); Remove this comment.
Created attachment 323418 [details] [review] window: modify the controls to switch between views In this commit, we change the shortcut keys to switch between views. The present control keys require to press Ctrl + Page Up/Page Down to switch between views and Alt + Left/Right to switch between months/years in the views. We are not using the Alt + Up/Down to do anything specific. For the entire controls to be operated with Alt alone, we changed the controls to switch between views to Alt + Up/Down from Ctrl + Page Up/Page Down. Even updated the "Keyboard Shortcuts" in the help menu with the new shortcuts.
Review of attachment 323418 [details] [review]: Your patch completely changes from <Ctrl>+Pg_Up/Pg_Down, which is the pattern for GNOME apps to change tabs & views. I can only accept it if you add more shortcuts, not change them.
Created attachment 349784 [details] [review] window: add more shortcuts Add the following new shortcuts: - Home: moves to today - PageUp: previous week/month/year - PageDn: next week/month/year
With this patch, I consider keyboard navigation in GNOME Calendar mostly feature-complete. Feel free to open new bugs for specific shortcuts you might want. Attachment 349784 [details] pushed as 78eb9a7 - window: add more shortcuts