Bug 179139 - Filters not applied real-time
Summary: Filters not applied real-time
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 0.10.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 14:48 UTC by Pau Ruŀlan Ferragut
Modified: 2012-06-27 11:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0


Attachments

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