[Digikam-devel] [Bug 167873] Tag and album trees are not expanded when searching for entries

Andi Clemens andi.clemens at gmx.net
Mon Aug 18 08:03:02 BST 2008


http://bugs.kde.org/show_bug.cgi?id=167873





--- Comment #5 from Andi Clemens <andi clemens gmx net>  2008-08-18 09:03:01 CET ---
Finally bugzilla is running again and even the MyLyn plugin from Eclipse
connects to B.K.O. now, nice...!
So I can post the patch I wanted to attach here all sunday.

I tried to avoid copying source code and ended up in template hell ;-)
Somehow template methods only worked when defining them in the header file,
which is bad.

Anyway here is a new version of the patch, it will introduce a new standard
collapse mode for
AlbumFolderView and TagsFolderView: CollapseModeRestore.

This mode will collapse the whole folder view first, but restore the currently
watched album in the
folder view again.

FolderView::collapseView() is a virtual function now, so it may be
re-implemented if necessary.

Right now the default behaviors are:

FolderView::collapseView(): CollapseModeAll
AlbumFolderView::collapseView(): CollapseModeRestore
TagsFolderView::collapseView(): CollapseModeRestore
TagFilterView::collapseView(): CollapseModeAll (uses the original method from
FolderView)
ImageDescEditTab::collapseView(): CollapseModeAll (uses the original method
from FolderView)

Gilles,

unfortunately I can't test the code for TagsFolderView now because I don't see
tags at all. Is it broken?
It is not my patch, if I revert everything I still can't see tags. To be more
precise: I see tags in the TagsFolderView, but clicking on them will not give
me any thumbnails in the icon view. All other views work fine
(AlbumFolderView, DateFolderView etc).
I also deleted my digikam4.db and the settings in home folder, still it is not
working. So I guess it is seriously broken somehow.
Can you confirm this, too? I don't want to add a new bugreport if it is not
necessary.

Andi


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list