[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 302028] New: folder list splitter can not be zero when favourite folder view is activated
From:       Thorsten Schnebeck <thorsten.schnebeck () gmx ! net>
Date:       2012-06-17 0:09:58
Message-ID: bug-302028-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=302028

            Bug ID: 302028
          Severity: normal
           Version: 4.8.4
          Priority: NOR
          Assignee: kdepim-bugs@kde.org
           Summary: folder list splitter can not be zero when favourite
                    folder view is activated
    Classification: Unclassified
                OS: Linux
          Reporter: thorsten.schnebeck@gmx.net
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: UI
           Product: kmail2

When using favourite folder view on a small netbook screen I want to disable
folder list by dragging the splitter to the bottom - like I can do with the
calendar folder view in korganizer.
But in KMail2 the splitter can not be zero. I am forced to watch the folder
list. This is a regression to kmail1 in KDE3 :-)

Reproducible: Always

Steps to Reproduce:
1. activate favorite folder icon view
2. drag spltter between favorite folder list and std folder list down to bottom

Actual Results:  
 a small area of the std folder list stays visible

Expected Results:  
only the small splitter handle stays visible like in korganizer calendar folder
view.
When corrected it should be checked if the splitter position is saved when
restarting kmail/kontact

kdepim/kmail/kmmainwidget.cpp shows at line ~680:

if ( mFavoriteCollectionsView ) {
    mFolderViewSplitter = new QSplitter( Qt::Vertical );
    mFolderViewSplitter->setOpaqueResize( opaqueResize );
    mFolderViewSplitter->setChildrenCollapsible( false );
    mFolderViewSplitter->addWidget( mFavoriteCollectionsView );
    mFavoriteCollectionsView->setParent( mFolderViewSplitter );
    mFolderViewSplitter->addWidget( mSearchAndTree );
    folderTreeWidget = mFolderViewSplitter;
  }

setChildrenCollapsible( false ) disables collapsing of the children widget.

kmail --version
Qt: 4.8.1
KDE: 4.8.4 (4.8.4)
KMail: 4.8.4

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic