Bug 210520

Summary: DSplitterButton not always expanding the sidebar
Product: [Applications] digikam Reporter: Andi Clemens <andi.clemens>
Component: Albums-MainViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0
Sentry Crash Report:

Description Andi Clemens 2009-10-14 11:10:14 UTC
Version:           1.0.0-beta6 (using 4.3.2 (KDE 4.3.2), Arch Linux)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31-ARCH

1. Press the DSplitterButton to collapse the SideBar (for example in Album Tab)
2. Now press the AlbumTab Icon itself, it gets also collapsed
3. Press DSplitterButton again, nothing happens (it should expand the SideBar again)
Comment 1 caulier.gilles 2009-10-14 14:04:51 UTC
SVN commit 1035152 by cgilles:

handle properly sidebar state with splitter button using signal slot
BUG: 210520


 M  +36 -35    dsplitterbutton.cpp  
 M  +4 -0      dsplitterbutton.h  
 M  +16 -7     sidebar.cpp  
 M  +2 -0      sidebar.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1035152
Comment 2 Andi Clemens 2009-10-14 14:14:02 UTC
Still some issues:

1. I think the button should also close the tab then, right now it is still expanded (any other suggestions?)

2. The button arrow sometimes points in the wrong direction:
   a) when digiKam has been freshly started and the left sidebar is expanded, the arrow direction is correct (pointing to the left to indicate collapsing on click)
   b) now click the button
   c) click it again
   d) arrow always points to the right now

Andi
Comment 3 Andi Clemens 2009-10-14 14:18:07 UTC
(In reply to comment #2)
> 1. I think the button should also close the tab then, right now it is still
> expanded (any other suggestions?)

I mean "collapse the tab button"