Playlist is not updated when clearing search text after restart
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+
ProcVersionSign
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)
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 |
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.