Bug 408860 - The "Previous" and "Next" buttons on the Playlist disappear when I enable "Show only matches"
Summary: The "Previous" and "Next" buttons on the Playlist disappear when I enable "Sh...
Status: RESOLVED INTENTIONAL
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.9.0
Platform: Neon Linux
: NOR normal
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-18 07:01 UTC by jensenr30
Modified: 2025-01-06 11:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
show where the "Previous" and "Next" buttons used to be. (63.11 KB, image/png)
2019-06-18 07:01 UTC, jensenr30
Details

Note You need to log in before you can comment on or make changes to this bug.
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.