Bug 131398

Summary: Next song button incorrectly deactivated
Product: [Applications] amarok Reporter: Marius <mariusst>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.4.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marius 2006-07-26 15:52:51 UTC
Version:           1.4.1 (using KDE KDE 3.5.3)
Installed from:    Gentoo Packages

If you do a search in the playlist, start the bottom-most song and then go out of search mode (so the currently playing song isnt the last one anymore) the next song button will still be deactivated.

How to reproduce:
Add three songs to the playlist; "Welcome", "Morning" and "Goodbye"
Do a search for Morning in the playlist search thing
Notice how it is now the last (and only) song in the list
Start it
The next button is now (correctly) disabled
Now hit the "clear search" button, notice how the song is no longer the last one in the playlist, but the next button is still disabled.

(this problem probably exists for the "previous song" button too)
Comment 1 Alexandre Oliveira 2006-07-29 22:47:27 UTC
SVN commit 567698 by aoliveira:

Enable/disable prev/next buttons as playlist filter changes
BUG: 131398


 M  +1 -0      playlist.cpp  


--- trunk/extragear/multimedia/amarok/src/playlist.cpp #567697:567698
@@ -3639,6 +3639,7 @@
         m_prevfilter = m_filter;
         m_filter = query;
     }
+    updateNextPrev();
 }
 
 void