Bug 200709

Summary: playlist search field not cleared when playlist is repopulated
Product: [Applications] amarok Reporter: Tomas Van Verrewegen <tomasvanverrewegen>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: john, nhn
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Proposed patch for bug200709

Description Tomas Van Verrewegen 2009-07-18 22:22:09 UTC
Version:           2.1.1 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-13-generic

When the playlist is repopulated using "Replace Playlist" in the menu the search field on top of the playlist isn't cleared, so if a search term was previously entered, there's a good (near 100%) chance the playlist will appear empty. This can be very confusing...
Comment 1 John Atkinson 2009-07-31 20:26:07 UTC
This is confirmed behaviour and, as discussed briefly on the mailing list, should be fixed so that the filter is cleared when the playlist is replaced and "show only matches" is enabled.

This is implemented by the attached patch.
Comment 2 John Atkinson 2009-07-31 20:26:51 UTC
Created attachment 35761 [details]
Proposed patch for bug200709
Comment 3 Nikolaj Hald Nielsen 2009-07-31 21:01:05 UTC
Fixed by commit acc6fd2522d807746c7aef51e76005bc64c9158f

Thanks for the patch John! :-)
Comment 4 Nikolaj Hald Nielsen 2009-07-31 21:01:49 UTC
Oh, and then I need to actually close it...