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 770588 - Control arrow key ( up / down / left / right ) shortcuts are less useful.
Control arrow key ( up / down / left / right ) shortcuts are less useful.
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks: 770527
 
 
Reported: 2016-08-30 09:13 UTC by gnome.vrb
Modified: 2018-05-24 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnome.vrb 2016-08-30 09:13:27 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.
Comment 1 gnome.vrb 2016-08-30 09:17:38 UTC
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.
Comment 2 gnome.vrb 2016-09-28 09:59:05 UTC
"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.
Comment 3 GNOME Infrastructure Team 2018-05-24 19:02:28 UTC
-- 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.