Bug 53821 - KMail ignores some of its geometry settings when started on logon
Summary: KMail ignores some of its geometry settings when started on logon
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-01 13:06 UTC by Malte S. Stretz
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of KMail with incorrect geometry (62.14 KB, image/png)
2003-02-01 13:07 UTC, Malte S. Stretz
Details
Stripped down kmailrc (3.95 KB, text/plain)
2003-02-01 13:07 UTC, Malte S. Stretz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2003-02-01 13:06:43 UTC
Version:           1.5 (using KDE 3.1.0)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18

Another weird interface issue (see bug 53546 & 53521):

I have the option to save the open apps on KDE logout enabled so KMail starts on every login. But for some reason does it forget the height of the message pane if it was started with KDE. The message pane will be so small that I can see the fancy headers of the selected mail only.

It's reproducable:
1. Start KMail, resize the message list to be very small (maybe five messages).
2. Close KMail. The geometry is saved.
3. Start KMail. Everything looks good. [rc1]
4. Log off, enable the "Save my settings" (or whatever it's called) to have KMail open on the next login.
5. Log in again. KMail will be started automagically.
6. Now the heights are incorrect: Big message list, small preview. The kmailrc has NOT changed. [rc2]
7. Close KMail. The new geometry is now saved of course. [rc3]

I copied the kmailrc where I added the [rc*] tags. This is a `diff3 rc1 rc2 rc3`:
| ====3
| 1:5428c
| 2:5428c
|   HeaderPaneHeight=111
| 3:5428c
|   HeaderPaneHeight=513
| ====3
| 1:5431c
| 2:5431c
|   MessagePaneHeight=503
| 3:5431c
|   MessagePaneHeight=101

I'll attach a screenshot and a stripped down version of my kmailrc (minus Identities, Filters, etc.).
Comment 1 Malte S. Stretz 2003-02-01 13:07:21 UTC
Created attachment 855 [details]
Screenshot of KMail with incorrect geometry
Comment 2 Malte S. Stretz 2003-02-01 13:07:53 UTC
Created attachment 856 [details]
Stripped down kmailrc
Comment 3 Ingo Klöcker 2003-02-01 18:33:45 UTC
Subject: Re:  New: KMail ignores some of its geometry settings when started on logon

Sorry, but I can't reproduce it the way you describe, neither with my 
account nor with a completely new account. After login KMail still 
looks the same as before logout.
Can you reproduce this with a completely new account? If yes, how?

Comment 4 Malte S. Stretz 2003-02-01 19:45:22 UTC
It is reproducable on a fresh account with KMail's third layout (MIME Tree below 
Folders) and smart MIME Tree. 
Comment 5 Ingo Kl 2003-02-01 21:19:59 UTC
Subject: KDE_3_1_BRANCH: kdenetwork/kmail

CVS commit by kloecker: 

Fix bug 53821: KMail ignores some of its geometry settings when started on logon

CCMAIL: 53821-fixed@bugs.kde.org


  M +2 -2      kmmainwin.cpp   1.541.2.6


--- kdenetwork/kmail/kmmainwin.cpp  #1.541.2.5:1.541.2.6
@@ -635,5 +635,5 @@ void KMMainWin::activatePanners(void)
         mPanner1->setSizes( mPanner1Sep );
         mPanner2->setSizes( mPanner2Sep );
-        mPanner3->setSizes( mPanner2Sep );
+        mPanner3->setSizes( mPanner3Sep );
         mPanner2->setResizeMode( mMimePartTree, QSplitter::KeepSize );
         mPanner3->setResizeMode( mHeaders, QSplitter::KeepSize );
@@ -649,5 +649,5 @@ void KMMainWin::activatePanners(void)
         mPanner1->setSizes( mPanner1Sep );
         mPanner2->setSizes( mPanner2Sep );
-        mPanner3->setSizes( mPanner2Sep );
+        mPanner3->setSizes( mPanner3Sep );
         mPanner1->setResizeMode( mPanner2, QSplitter::KeepSize );
         mPanner2->setResizeMode( mFolderTree, QSplitter::KeepSize );


Comment 6 Martin 2003-02-04 22:26:00 UTC
Yes...I see this as well exactly as described.  Saved me some typing. 
 
When you login, the message 'body' pane jumps down towards the bottom of the 
screen. 
If you move it up and exit kmail and run kmail again, it is fine. 
 
But...when you logout and then login, it is back to the bottom.  Just annoying. 
 
 
Comment 7 Ingo Kl 2003-02-06 01:33:11 UTC
Subject: Re:  KMail ignores some of its geometry settings when started on logon

For your information: Only the third and the fourth layout are affected 
by this bug. Until you upgrade to KDE 3.1.1 where this bug will be 
fixed you should use another layout if the bug annoys you too much. 
Alternatively you can of course simply quit KMail before you logout.