Bug 131398 - Next song button incorrectly deactivated
Summary: Next song button incorrectly deactivated
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 15:52 UTC by Marius
Modified: 2006-07-29 22:47 UTC (History)
0 users

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


Attachments

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