GNOME Bugzilla – Bug 770588
Control arrow key ( up / down / left / right ) shortcuts are less useful.
Last modified: 2018-05-24 19:02:28 UTC
This refers to the four control arrow key shortcuts: Ctrl+Left - Jump to the Previous Track / Back to the beginning of the track Ctrl+Right - Jump to the Next Track Ctrl+Up - Increase playback volume Ctrl+Down - Decrease playback volume These in most cases are used by Gtk widgets. E.g. * All 4 in the case of GtkTreeView ( for shift selection ) * Ctrl+Left / Ctrl+Right in the case of GtkEntry ( for word navigation ). For most cases, I find these shortcuts not working for rhythmbox, as the focus is on GtkTreeView mostly. It would be better if they are re-assigned to shortcuts which are not used by Gtk. My initial thought was to replace all Ctrl equivalents with "Alt" ( Refer: https://bugzilla.gnome.org/show_bug.cgi?id=97961 ), though I'd consult with Gtk folks before doing that.
Relevant code in shell/rb-shell-player.c: /* these only take effect if the focused widget doesn't handle the event */ rb_application_add_accelerator (app, "<Ctrl>Left", "app.play-previous", NULL); rb_application_add_accelerator (app, "<Ctrl>Right", "app.play-next", NULL); rb_application_add_accelerator (app, "<Ctrl>Up", "app.volume-up", NULL); rb_application_add_accelerator (app, "<Ctrl>Down", "app.volume-down", NULL); /* these take effect regardless of widget key handling */ gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>p", "app.play", NULL); gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>r", "app.play-repeat", g_variant_new_boolean (TRUE)); gtk_application_add_accelerator (GTK_APPLICATION (app), "<Ctrl>u", "app.play-shuffle", g_variant_new_boolean (TRUE)); I'm not sure about "these only take effect if the focused widget doesn't handle the event". Why didn't we choose shortcuts which don't conflict with gtk. Maybe I am missing something -or- these shortcuts needs to be revisited in the current context.
"Alt" key doesn't seem to be a choice here ( https://developer.gnome.org/hig/unstable/keyboard-input.html.en ) Shortcut keys: * Do not use Alt for shortcut keys, as this may conflict with access keys.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/1492.