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 608879 - Type ahead activation without requiring '?' key press
Type ahead activation without requiring '?' key press
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: User Interface
1.5.3
Other Linux
: Normal enhancement
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
: 611739 645111 648939 659542 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-02-03 10:42 UTC by Michael Monreal
Modified: 2020-03-17 08:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Enables seraching w/o ? and remaps one key shortcuts to eliminate collisions (12.22 KB, patch)
2010-05-30 08:43 UTC, Dmitry Teslenko
none Details | Review
resolves conflicts created by prev feature patch (4.95 KB, patch)
2010-05-30 13:46 UTC, Dmitry Teslenko
none Details | Review
cumulitive patch 1st+2nd (17.15 KB, patch)
2010-05-30 19:24 UTC, Dmitry Teslenko
none Details | Review
Type ahead activation without requiring '?' key press (13.44 KB, patch)
2010-06-04 04:13 UTC, Dmitry Teslenko
needs-work Details | Review

Description Michael Monreal 2010-02-03 10:42:43 UTC
Banshee 1.5.3 finally has type-ahead for the artist etc list. The problem with it is that it needs pressing "?" before it kicks in (after focusing the list, which means another click), which is quite counter-productive. "?" is not a first-level key on many keyboards which means you need to press a modifier key first etc...

I personally don't use the keyboard to control banshee so having type-ahead kick in directly after focusing the list (without activating it manually first) would rock. Maybe a preference for this?
Comment 1 Michael Martin-Smucker 2010-02-03 15:32:37 UTC
I agree completely; when I switched to Banshee, type-ahead was one of the features that I really missed.  Now that it's here, I don't even use it because it takes more work than hitting 's' and doing a search.

While I agree that pressing '?' is counter-intuitive, an eventual fix to this will probably come in the form of a new preference option (as you suggested) which makes this more of an enhancement request than a bug.
Comment 2 Michael Martin-Smucker 2010-03-03 22:31:14 UTC
I made the title a bit more descriptive so that this report can be easily found in searches:

-Type ahead activation
+Type ahead activation without requiring '?' key press
Comment 3 Michael Martin-Smucker 2010-03-03 22:35:19 UTC
*** Bug 611739 has been marked as a duplicate of this bug. ***
Comment 4 Philip Gillißen 2010-03-04 08:28:54 UTC
From #611739:
Gabriel:
> guerda:
> > Would it work if the commands were deactivated, if one of
> > the two controls are focused?
> Yeah, that could work.  One concern w/ doing that is it could be confusing and
> decrease the value of those one-button shortcuts.

Would that be too complicated?
Comment 5 Michael Monreal 2010-03-04 09:52:34 UTC
(In reply to comment #4)
> Would that be too complicated?

IMHO, if a user focusses the artist/album lists by mouse he/she is unlikely to expect those "one-button shortcuts" to work, at least your main concern in this case seems to be with finding an artist or album by name and not starting/stopping playback etc. Clicking anywhere else (header, source list, menu) could then take away the focus and re-activate the one-button shortcuts.
Make this behaviour optional like "[x] automatic type-ahead in artist and album lists". Maybe even make it the default and see how many users turn it off (banshee metrics!)
Comment 6 Philip Gillißen 2010-03-04 10:17:22 UTC
Thanks Michael for your attention and your thoughts.

I would really appreciate if this behaviour was controlled by the user. I can understand that users are confused if there one-button-shortcuts won't work if they are in the album/artist box.
Comment 7 Dmitry Teslenko 2010-05-30 08:43:50 UTC
Created attachment 162300 [details] [review]
Enables seraching w/o ? and remaps one key shortcuts to eliminate collisions

Here's what have been remapped:
"PlaySongAction"                                         "S"                            -> "<control>S"
"PlayAlbumAction"                                        "A"                            -> "<control>A"
"AudiobookSwitchToGrid"                         "Escape"
"AudiobookEdit"                         "E"                                                     -> "<control>E"
"AddToPlayQueueAction"                          "q"                                     -> "<control>q"
"CloseAction"                           "<Control>W"
"PodcastAddAction"                              "<control><shift>F"
"PodcastItemMarkOldAction"                              "y"                             -> "<control>y"
"PodcastItemDownloadAction"                             "<control><shift>D"
"PodcastItemCancelAction"                               "<control><shift>C"
"AudioscrobblerEnableAction"                            "control>U"
"CloseAction"                           "<Control>W"
"BrowserVisibleAction"                          "<control>B"
       lets change to "<control>V"
"BookmarksAddAction"                            "<control>D"
"ShowEqualizerAction"                           "<control>E"
"FullScreenAction"                              "F"                                             ->"<control>F" *
       confilcts with find; lets make "<control><shift>F" and PodcastAddAction to null
"SelectAllAction"                               "<control>A"
"SelectNoneAction"                              "<control><shift>A"
"TrackEditorAction"                             "E"                                             -> "<control>E" *
       conflicts with ShowEqualizerAction, lets make "<control>K"
"RemoveTracksAction"                            "Delete"
"ImportAction"                          "<control>I"
"OpenLocationAction"                            "<control>L"
"QuitAction"                            "<control>Q"
"PlayPauseAction"                               "space"                                 ->"<control>space"
"NextAction"                            "N"                                                     ->"<control>N" *
       conflicts with NewPlaylistAction; lets change NewPlaylistAction
"PreviousAction"                                "B"                                             ->"<control>B" *
       conflicts with BrowserVisibleAction lets change BrowserVisibleAction
"SeekToAction"                          "T"                                                     ->"<control>T"
"JumpToPlayingTrackAction"                              "<control>J"
"RestartSongAction"                             "R"                                             ->"<control>R"
"StopWhenFinishedAction"                                "<Shift>space"
"NewPlaylistAction"                             "<control>N"
       lets change to "<control>P"
"RenameSourceAction"                            "F2"
"UnmapSourceAction"                             "<shift>Delete"
"OpenSourceSwitcher"                            "G"                                     ->"<control>G"
Comment 8 Robin Stocker 2010-05-30 09:46:44 UTC
(In reply to comment #7)
> "PlayAlbumAction"                                        "A"                   
>         -> "<control>A"

Conflicts with "select all".

> "AddToPlayQueueAction"                          "q"                            
>         -> "<control>q"

Ctrl+q is already used for quitting the application.

> "PlayPauseAction"                               "space"                        
>         ->"<control>space"

Why not let it be "space" (maybe in addition to ctrl+space)? Space usually never starts a type-ahead find.

> "NextAction"                            "N"                                    
>                 ->"<control>N" *
>        conflicts with NewPlaylistAction; lets change NewPlaylistAction

How about the right arrow key? It's not used at the moment and it's a natural choice.

> "PreviousAction"                                "B"                            
>                 ->"<control>B" *
>        conflicts with BrowserVisibleAction lets change BrowserVisibleAction

How about left arrow key?
Comment 9 Dmitry Teslenko 2010-05-30 13:46:12 UTC
Created attachment 162316 [details] [review]
resolves conflicts created by prev feature patch

>> "PlayAlbumAction"                                        "A"                   
>>         -> "<control>A"
>
>Conflicts with "select all".

 "PlayAlbumAction"					"A"				-> "<control>m"

>
>> "AddToPlayQueueAction"                          "q"                            
>>         -> "<control>q"
>
>Ctrl+q is already used for quitting the application.


 "AddToPlayQueueAction"				"q"					-> "<shift>q"

>
>> "PlayPauseAction"                               "space"                        
>>         ->"<control>space"
>
>Why not let it be "space" (maybe in addition to ctrl+space)? Space usually
>never starts a type-ahead find.


"PlayPauseAction"					"space"					
space works fine; it doesnt start/stop playback when you searching list and
hit space

>
>> "NextAction"                            "N"                                    
>>                 ->"<control>N" *
>>        conflicts with NewPlaylistAction; lets change NewPlaylistAction
>
>How about the right arrow key? It's not used at the moment and it's a natural
>choice.
>
>> "PreviousAction"                                "B"                            
>>                 ->"<control>B" *
>>        conflicts with BrowserVisibleAction lets change BrowserVisibleAction
>
>How about left arrow key?

"NextAction"						"N"						->"<control>Right" 
"PreviousAction"					"B"						->"<control>Left" 



================================================================================
I'll paste all shortcuts here again
									was					become
"PlaySongAction"					"S"  				-> "<control>S"
 "PlayAlbumAction"					"A"				-> "<control>m"
"AudiobookSwitchToGrid"				"Escape"
"AudiobookEdit"						"E"							-> "<control>E"
 "AddToPlayQueueAction"				"q"					-> "<shift>q"
"CloseAction"						"<Control>W"
"PodcastAddAction"					"<control><shift>F"		-> null
"PodcastItemMarkOldAction"			"y"				-> "<control>y"
"PodcastItemDownloadAction"			"<control><shift>D"
"PodcastItemCancelAction"			"<control><shift>C"
"AudioscrobblerEnableAction"		"control>U"
"CloseAction"						"<Control>W"
"BrowserVisibleAction"				"<control>B"
"BookmarksAddAction"				"<control>D"
"ShowEqualizerAction"				"<control>E"
"FullScreenAction"					"F"						->"<control><shift>F" *
"SelectAllAction"					"<control>A"
"SelectNoneAction"					"<control><shift>A"
"TrackEditorAction"					"E"						-> "<control>K" 
"RemoveTracksAction"				"Delete"
"ImportAction"						"<control>I"
"OpenLocationAction"				"<control>L"
"QuitAction"						"<control>Q"
"PlayPauseAction"					"space"					
"NextAction"						"N"						->"<control>Right" 
"PreviousAction"					"B"						->"<control>Left" 
"SeekToAction"						"T"						->"<control>T" 
"JumpToPlayingTrackAction"			"<control>J"
"RestartSongAction"					"R"						->"<control>R" 
"StopWhenFinishedAction"			"<Shift>space"
"NewPlaylistAction"					"<control>N"								
"RenameSourceAction"				"F2"
"UnmapSourceAction"					"<shift>Delete"
"OpenSourceSwitcher"				"G"					->"<control>G"
Comment 10 Michael Martin-Smucker 2010-05-30 14:26:40 UTC
Dmitry, thanks so much for working on this!  A couple things:

- Using the nereid client, the unmodified 's' shortcut still focuses on the search field.  It's my personal opinion that this shortcut can be removed completely, since F3, '/', and <control>F all do the exact same thing.

- Changing "F" for fullscreen to <control><shift>F might not be worth it since this is not very discoverable, and F11 does the same thing (and is used in many other applications).

-I agree with Robin that space bar doesn't need a modifier, since it should never need to start a type-ahead search.  Also, I really like the idea of arrow keys replacing <control>N and <control>B, but you may want to add a <control> modifier to the arrow keys.  See Bug 535924 for more discussion on that.

-This is just speculation, but I doubt a patch that completely changes the current behavior will be accepted.  This would be much more likely to go through if it was implemented as a preference option.  But for those of us who want this behavior and don't mind running a patched Banshee, this is awesome!  Thanks again.
Comment 11 Michael Martin-Smucker 2010-05-30 14:29:32 UTC
I guess I was typing my comment as you were updating the patch, so some things might be irrelevant now.  I'll check back in after I've tested the new patch.
Comment 12 Michael Martin-Smucker 2010-05-30 14:44:33 UTC
One quick thing, though, could you make your latest patch a cumulative patch that doesn't depend on the first one?  It will be easier for others who might want to test this if they can just apply one patch, rather than a succession of patches.
Comment 13 Robin Stocker 2010-05-30 18:49:40 UTC
(In reply to comment #10)
> Also, I really like the idea of arrow keys replacing <control>N and
> <control>B, but you may want to add a <control> modifier to the arrow keys.

The most convenient behaviour would be to have ctrl+arrow keys work everywhere; and when the focus is on the track list, pressing ctrl shouldn't be necessary to switch tracks.
Comment 14 Dmitry Teslenko 2010-05-30 19:24:54 UTC
Created attachment 162329 [details] [review]
cumulitive patch 1st+2nd
Comment 15 Dmitry Teslenko 2010-06-04 04:13:14 UTC
Created attachment 162720 [details] [review]
Type ahead activation without requiring '?' key press
Comment 16 Dmitry Teslenko 2010-06-04 04:17:18 UTC
4th patch is cumulitive for 1.7.1
It partly applies to 1.6.1

(In reply to comment #10)
> Dmitry, thanks so much for working on this!  A couple things:
> 
> - Using the nereid client, the unmodified 's' shortcut still focuses on the
> search field.  It's my personal opinion that this shortcut can be removed
> completely, since F3, '/', and <control>F all do the exact same thing.

Done in 4th patch

> - Changing "F" for fullscreen to <control><shift>F might not be worth it since
> this is not very discoverable, and F11 does the same thing (and is used in many
> other applications).

F11 for fullscreen already there
Comment 17 Michael Monreal 2010-11-23 20:56:35 UTC
What is needed here? Just review?
Comment 18 Michael Martin-Smucker 2010-11-23 21:01:47 UTC
(In reply to comment #17)
> What is needed here? Just review?

IIRC, the patch changes the default behavior but doesn't (yet) include a preference option to toggle the new behavior on and off -- this would probably be needed for the patch to be considered for inclusion.

Additionally, I don't think the patch applies to master any more.  Also, with this patch applied, starting a type-ahead search with the 'c' key tended to crash Banshee.
Comment 19 Jack O'Connor 2011-01-08 14:44:53 UTC
+1 I would also love this functionality. I personally do not use/desire any other keyboard shortcuts.
Comment 20 Michael Martin-Smucker 2011-03-18 13:24:39 UTC
*** Bug 645111 has been marked as a duplicate of this bug. ***
Comment 21 Christian Berg 2011-03-19 22:41:18 UTC
Hello Banshee community!

I recently tried to use Banshee. Ubuntu is planning to replace the old-fashioned Rythmbox with Banshee, so i also thought i give it a try.

But it is nearly impossible for a new banshee-user to find out that pressing "?" activates the type-ahead feature. It's not intuitive, and it hasn't been mentioned in the Banshee Help.

It would be much easier for newcomers like me, if banshee uses the same short-cuts as other GNOME Apps like Totem, or Rythmbox. For example:
Play/Pause: <Space>
Next Track: <Alt> + <Right Key>
Previous Track: <Alt> + <Left Key>
Fullscreen: <F11> and sometimes <Ctrl> + <Enter>
Edit Properties: <Alt>+<Enter>

The only single-letter-shortcut in Banshee 1.9.5 i have found without an equivalent is <Y> to mark a Podcast as old. I would map this to <Ctrl> + <o> like _o_ld.

But im afraid that old banshee-users will get angry if we kill they're known shortcuts. So a newer Banshee needs a "restore single-letter-shortcuts" option.

I hope my opinion will help you to improve the usability of this great program a little bit.
Comment 22 Michael Martin-Smucker 2011-04-29 15:02:44 UTC
*** Bug 648939 has been marked as a duplicate of this bug. ***
Comment 23 Michael Martin-Smucker 2011-05-20 12:36:12 UTC
Review of attachment 162720 [details] [review]:

Please see my comment 18.  With this patch applied, starting a type-ahead search with the 'C' key crashes Banshee, and the patch no longer applies cleanly to git master.  Also, I highly doubt this functionality will be included unless there is also a preference option to switch between this behavior and the traditional keyboard shortcuts.
Comment 24 Michael Martin-Smucker 2011-09-20 12:28:30 UTC
*** Bug 659542 has been marked as a duplicate of this bug. ***
Comment 25 André Klapper 2020-03-17 08:54:20 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.