Bug 91007 - Open categories in left pane with double-click
Summary: Open categories in left pane with double-click
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-09 14:12 UTC by S. Burmeister
Modified: 2022-01-05 15:13 UTC (History)
1 user (show)

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


Attachments

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