Bug 207293

Summary: when showing whole collection status bar filters don't work
Product: [Applications] digikam Reporter: Mikolaj Machowski <mikmach>
Component: Albums-FiltersAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, marcel.wiesweg
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Mikolaj Machowski 2009-09-13 23:29:32 UTC
Version:            (using Devel)
Compiler:          gcc4.3.2 
OS:                Linux
Installed from:    Compiled sources

When showing whole collection (focus in Albums panel is on collection entry) filters from status bar (text, mime-type, rating) don't work.

This really limits usefullness of these features (show items recursively, filtering).
Comment 1 Marcel Wiesweg 2009-09-21 17:46:32 UTC
Very good bug. Reveals problems that did not show up before. Note: This bug hits you with the whole collection because the listing is long and not yet finished when you start to filter.
Comment 2 Marcel Wiesweg 2009-09-21 17:51:46 UTC
SVN commit 1026370 by mwiesweg:

Use a flag to know when a subclass (listing asynchronously in batches) has
finished listing. This knowledge is needed by the filter model to know
when it should invalidate the sorting and filtering.

CCBUG: 207293

 M  +4 -1      imagealbummodel.cpp  
 M  +30 -0     imagemodel.cpp  
 M  +16 -0     imagemodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1026370
Comment 3 Marcel Wiesweg 2009-09-21 17:51:50 UTC
SVN commit 1026371 by mwiesweg:

Some small changes that made the model fail to recognize
when it had filtered or re-added all packages and made it even
discard some because the wrong discard version was set.

In the hope not to introduce regressions.

BUG: 207293

 M  +3 -1      NEWS  
 M  +8 -12     libs/models/imagefiltermodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1026371