Playlist is not updated when clearing search text after restart

Bug #1386411 reported by Sergey Zolotarev
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Noise
New
Undecided
Unassigned

Bug Description

If you restart Noise the "X" button in the search box has no effect on the playlist unless you edit the seach text. That is, it clears the text itself but the playlist is not updated. However, typing something else or clearing it using backspace works fine.

Steps to reproduce:

1. Select Library -> Music
2. Search for some song
3. Restart Noise (press Ctrl-Q to quit and then run it again)
4. Click on the "X" button in the search box

ProblemType: Bug
DistroRelease: elementary OS 0.3
Package: noise 0.3.0+r1706+pkg85~ubuntu0.3.1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CrashDB: noise
CurrentDesktop: Pantheon
Date: Tue Oct 28 00:38:27 2014
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/noise
GsettingsChanges:

InstallationDate: Installed on 2014-09-24 (33 days ago)
InstallationMedia: elementary OS 0.3 "Freya" - Daily amd64 (20140810)
SourcePackage: noise
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sergey Zolotarev (szx) wrote :
Sergey Zolotarev (szx)
description: updated
summary: - Playlist is not updated when editing search query after restart
+ Playlist is not updated when clearing search after restart
summary: - Playlist is not updated when clearing search after restart
+ Playlist is not updated when clearing search text after restart
Revision history for this message
Sergey Zolotarev (szx) wrote :

Hey, it seems like I found a fix for this, take a look:

http://bazaar.launchpad.net/~szx/noise/search-fix/revision/1707

This patch basically sets research_needed to true before calling refilter() in order to make FastList.do_search() update the music list. It's probably no the best fix but it worked for me.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.