prev
More Info
Revision 831501
(Back to Digest)
next


Commit Details
Bug Fixes in Graphics
Marcel Wiesweg committed changes in /trunk/extragear/graphics/digikam/libs/widgets/common:
Expensive solution for a small annoying and serious
When the sidebar was hidden, then digikam closed, after restarting clicking on a tab bar button would show the sidebar at size 0 (only handle visible), which is a difficult to understand situation.

Solution:
Use a dedicated QSplitter subclass the cooperates closely with the Sidebars it contains.

Solves the bug.
When the user now moves the splitter handle so that the sidebar collapses, this is recognized and the transformed as if the sidebar was hidden by clicking on a button.

After expanding the sidebar, no size of 0 (only handle visible) will be tolerated, in case of doubt the minimum size hint is used.

The SidebarSplitter class contains also the code to save and restore state directly from a KConfig group, removing a lot of duplicate fiveliners in various classes.

File Changes
Modified 2 files
/trunk/extragear/graphics/digikam/libs/widgets/common
/sidebar.cpp
/sidebar.h
Added 1 file
/trunk/extragear/graphics/digikam/libs/widgets/common
Deleted 1 file
/trunk/extragear/graphics/digikam/libs/widgets/common
4 files changed in total

KDE Commit-Digest by Danny Allen, 2006-2009
All issues in archive by Derek Kite