Bug 108024 - lots of repaints slow down kmail when used via slow X connection
Summary: lots of repaints slow down kmail when used via slow X connection
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 23:24 UTC by Volker Blum
Modified: 2012-01-06 13:37 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Blum 2005-06-23 23:24:18 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    SuSE RPMs
OS:                Linux

I have used kmail for a long time, and often via an X connection (through DSL) to access my desktop mailer from anywhere. Not terribly efficient, but it worked.

Somewhere between KDE 3.3.x and 3.4.1, kmail has started doing lots of redraws - e.g., immediately after startup, the message list is refreshed five times, line by line, without any user action. This takes a long time, and makes using kmail via X practically impossible, unlike in earlier versions. Similar redraws happen for the folders list, but not for the message body (which is "only" redrawn twice).

I am reporting this because I hope that the unnecessary refreshes can somehow be tcacked doen and fixed, making the client faster for everyone. I do not see this behavior on the desktop itself, just via X - my guess is that the extra flickers just happen too fast on a local display.

Ah yes, perhaps unrelated, lots of errors of this type have appeared:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x57

Thanks! VB
Comment 1 Thiago Macieira 2005-06-25 20:41:16 UTC
I know this isn't an answer to your problem, but you should use NX instead of pure X if your connection isn't over a really fast line.
Comment 2 Jaime Torres 2009-07-20 14:53:08 UTC
Do you still see a lot of repaints with KDE4?
Almost all the flickerings are gone now.
Comment 3 Volker Blum 2009-08-01 00:10:24 UTC
Hi,
I have no current kde4 system available to test at the moment, but  
will try to get back to it (and either confirm that the bug still  
exists, or close) when I get a more current version. Thanks for  
paying attention to this!
best,
VB
On Jul 20, 2009, at 2:53 PM, Jaime Torres wrote:

> https://bugs.kde.org/show_bug.cgi?id=108024
>
>
>
>
>
> --- Comment #2 from Jaime Torres <jtamate gmail com>  2009-07-20  
> 14:53:08 ---
> Do you still see a lot of repaints with KDE4?
> Almost all the flickerings are gone now.
>
> -- 
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 4 Martin Koller 2009-09-29 22:13:06 UTC
Thanks for checking with a current kmail version.
Comment 5 Kunszt Arpad 2009-12-30 09:52:58 UTC
This bug is still exists in KDE 4.3.3 (Gentoo).

I deleted lots of e-mails (about 180-200 so not too many) from my IMAP box and it was incredible slow. It runs 15 minutes and did only approx the third of the job. I checked the traffic, and it was only 5-10 packet bursts then nothing for some seconds, and it repeated. I checked the CPU usage with htop and I saw one of my CPU cores (Phenom, 4 core) is eaten by X. I minimized the KMail window, the CPU usage drops to normal level, and the deletion is finished in a minute.

I can do other tests or compile snapshot codes for testing if it's needed.
Comment 6 Kunszt Arpad 2009-12-30 10:17:28 UTC
Another observation:

This only happens if a background filter run is in progress. If no filtering is done, the delete/move operation is fast.
Comment 7 Kunszt Arpad 2012-01-06 13:11:55 UTC
I think this can be closed as KMail2 obsoletes KMail. I can't experience this problem under KMail2.