Bug 179139

Summary: Filters not applied real-time
Product: [Applications] digikam Reporter: Pau Ruŀlan Ferragut <paurullan>
Component: Albums-FiltersAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: marcel.wiesweg
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.10.0

Description Pau Ruŀlan Ferragut 2008-12-30 14:48:18 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

In versió 0.10.0-beta8 (rev.: 903264) onto Ubuntu Intrepid the filter has stopped of working real-time. That means if I have the «exactly two star» filter and I change the rating of a photo to one star it should disappear.
Digikam 0.9.4 worked like this.
This is not a duplicate of https://bugs.kde.org/show_bug.cgi?id=147533 but wrong behaviour.
Comment 1 Marcel Wiesweg 2008-12-30 22:37:51 UTC
SVN commit 903565 by mwiesweg:

Listen to database change signals and schedule refiltering if filtered properties are changed.

CCBUG: 179139

 M  +70 -2     albumlister.cpp  
 M  +5 -0      albumlister.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=903565
Comment 2 Marcel Wiesweg 2008-12-30 23:12:38 UTC
The filtering code now listens to all relevant property changes and re-filters if a change occurs.
This even works now if you change the rating from a second running instance of digikam :-)
Comment 3 Pau Ruŀlan Ferragut 2008-12-30 23:36:06 UTC
Great job, works perfectly.