Bug 91007

Summary: Open categories in left pane with double-click
Product: [Applications] digikam Reporter: S. Burmeister <sven.burmeister>
Component: Tags-KeywordsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0

Description S. Burmeister 2004-10-09 14:12:09 UTC
Version:            (using KDE KDE 3.3.0)
OS:                Linux

in the left pane one has to click those tiny arrows to open a category, please let the user open/close a category with a double-click. Maybe one should even enlarge the tiny arrow.
Comment 1 Joern Ahrens 2004-10-09 18:13:30 UTC
CVS commit by jahrens: 


Double click on a tag/album/collection opens / closes it, depending on it's
previous state.

CCMAIL: 91007-done@bugs.kde.org


  M +1 -10     albumfolderview.cpp   1.48


--- kdeextragear-3/digikam/digikam/albumfolderview.cpp  #1.47:1.48
@@ -1064,14 +1064,5 @@ void AlbumFolderView::slotDoubleClicked(
      if (!item) return;
 
-     AlbumFolderItem *folderItem
-        = static_cast<AlbumFolderItem *>(item);
-
-     if (folderItem->isGroupItem() || folderItem->album()->isRoot())
-         return;
-
-     if (folderItem->album()->type() == Album::PHYSICAL)
-         albumEdit(dynamic_cast<PAlbum*>(folderItem->album()));
-     else
-         tagEdit(dynamic_cast<TAlbum*>(folderItem->album()));
+     item->setOpen(!item->isOpen());
 }
 


Comment 2 S. Burmeister 2004-10-11 10:36:44 UTC
That was quick. Too quick for me to post my second thought. When you single-click on the category nothing happens, maybe a single click would be even more straight forward to open/close a category?