Bug 207293 - when showing whole collection status bar filters don't work
Summary: when showing whole collection status bar filters don't work
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Filters (show other bugs)
Version: 1.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 23:29 UTC by Mikolaj Machowski
Modified: 2012-06-27 11:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0
Sentry Crash Report:


Attachments

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