Bug 408860

Summary: The "Previous" and "Next" buttons on the Playlist disappear when I enable "Show only matches"
Product: [Applications] amarok Reporter: jensenr30
Component: PlaylistAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: tuomas
Priority: NOR    
Version First Reported In: 2.9.0   
Target Milestone: kf5   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: show where the "Previous" and "Next" buttons used to be.

Description jensenr30 2019-06-18 07:01:29 UTC
Created attachment 120965 [details]
show where the "Previous" and "Next" buttons used to be.

SUMMARY
The "Previous" and "Next" buttons on the Playlist disappear when I enable "Show only matches".

STEPS TO REPRODUCE
1. Run Amarok.
2. Observe the presence of the "Previous" and "Next" buttons on the Playlist window.
3. On the Playlist window, click the menu/options buttons (three horizontal lines) and enable "Show only matches".

OBSERVED RESULT
The "Previous" and "Next" buttons have each disappeared from the Playlist window.
: astonish! :

EXPECTED RESULT
I expected that I would still be able to use the buttons, even when "Show only matches" is enabled.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.16
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3
Kernel Version: 4.18.0-21-generic
OS Type: 64-bit
Processors: 4 × AMD FX(tm)-4100 Quad-Core Processor
Memory: 21.6 GiB of RAM (1600 MHz DDR3)


k   o              --- ---  /=           ~                    
*****        o       --- --==-//&& &        ~      --\/\|==GPL
********                                 ~                    
Thanks for building Free and Open Source software!            
********                                 ~                    
*****        o       --- --== \\&& &        ~      --/\/|==GPL
k   o              --- ---  \=           ~
Comment 1 Tuomas Nurmi 2025-01-06 11:12:18 UTC
If "Show only matches" is enabled, only matching tracks are shown, so "Previous" and "Next" buttons would only change the currently highlighted (selected) track, corresponding to what would happen if user presses up or down keys on keyboard, or clicks the next track in list with mouse. 

In contrast, if "Show only matches" is not enabled, the "Previous" and "Next" skip through the playlist to matching tracks only, similar what "Find next" and "Find previous" would do when searching in a text document.

I can't quite figure out what would be the usecase of having a "next" button that just selects the next item on the list, instead of selecting it with a mouse click, or pressing 'down' on keyboard, so I'm closing this. Please do reopen and provide more insight if I've missed something.