Bug 153346

Summary: Main splitter size set to zero
Product: [Applications] kmail Reporter: Tobias Powalowski <t.powa>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: SVN trunk (KDE 4)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tobias Powalowski 2007-12-03 14:19:33 UTC
Version:           3.96.2 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.2 
OS:                Linux

After changing the view mode in settings from long folder list to short folder list the mail list is gone forever. Only starting with empty kmailrc brings it back.
Comment 1 Thomas McGuire 2007-12-03 19:34:57 UTC
Right, I can confirm it. Only happens when the favorite folder view is toggled as well.
The size of the main splitter is set to 0.
Comment 2 Thomas McGuire 2007-12-06 21:50:54 UTC
SVN commit 745697 by tmcguire:

Rewrite the layout code of the main widget.
The splitter layout has many interesting special cases, which
were all spread around in the code. Now it is all in layoutSplitters().
Now widgets shouldn't be hidden anymore because the splitter sizes
were zero after changing the layout. This needed some more config keys.

Cleaned up readConfig a bit, and other places as well.
Plus some style fixes.

BUG: 153346



 M  +12 -1     kmail.kcfg  
 M  +392 -336  kmmainwidget.cpp  
 M  +14 -20    kmmainwidget.h  
 M  +2 -4      kmreaderwin.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=745697