Bug 175727 - On launch, KMail and Kontact should resize the main-window before it becomes visible
Summary: On launch, KMail and Kontact should resize the main-window before it becomes ...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: GUI (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-11-21 07:00 UTC by Clovis Gladstone
Modified: 2011-05-07 18:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: kdepim 4.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clovis Gladstone 2008-11-21 07:00:48 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

Whenever I open kontact, kmail, or openoffice, the window opens initially at the top left of the screen (taking approximately 1/4 of the screen) and instantly resizes (to the selected size when last used, that is bigger) while opening. This resize is actually very slow, about a second or two, meaning that I have a big chunk of gray (the oxygen gray)  taking up the rest of my screen while the content of the window is being painted. This happens also on my wife's laptop.
Comment 1 lucas 2008-11-21 07:07:55 UTC
There is unfortunately nothing that can be done about this due to the way X works.
Comment 2 lucas 2008-11-21 07:21:11 UTC
My bad, I was thinking of something similar but different. The slow resize is due to both driver problems (Do both of your test systems nVidia by any chance?) and CPU load when the application starts.

I'll move this to KMail to see if they can do anything about resizing the window before it is displayed.
Comment 3 Clovis Gladstone 2008-11-21 17:50:49 UTC
Yes, right on spot. I do have a nvidia on both systems. A Geforce Go7300 and the infamous Geforce 8400M GS. I thought it might be related to that. But I was also hoping the problem was something else as NVIDIA is not particularly quick in fixing performance issues (to say the least). What puzzles me though is that it doesn't happen with dolphin, konqueror or system-settings. I tried to change the special apps settings and apply initially a certain size, but it didn't work. That's what led me originally to hope that the problem wasn't Nvidia related.
Comment 4 George Goldberg 2009-01-22 17:41:33 UTC
Changing the subject line of this bug to describe the issue that *can* be fixed in KMail, and reassigning to KMail devs since this bug report contains enough detail to fix.

Basiaclly, the main window should resize to the size it was last used at *before* it is made visible on startup. That way the slow resize issue shouldn't happen in this case.

Unfortunately the slow resize issue will probably need to be fixed upstream by nvidia :(
Comment 5 Jonathan Kolberg 2011-05-05 15:45:46 UTC
I don’t have this issue with KDEPIM 4.6 beta5
Comment 6 Christophe Marin 2011-05-07 18:31:59 UTC
Fixed in KMail2.