Bug 86151

Summary: Error Box race condition
Product: [Applications] kmail Reporter: Martin Krischik <martin1>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.6.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Krischik 2004-07-28 12:21:41 UTC
Version:           1.6.2 (using KDE 3.2.2, SuSE)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:                Linux (i686) release 2.4.21-226-athlon

KMail quite often tries to display several Error Messages at once. When trying to close the boxes KMail often (50/50) crashes.

But even without a crash this leads to serious usability problems.

i.E. Leave KMail unattended without a network connection, come back and find dozens of message boxes telling you that connection to server X was not possible.

I said this before: For those with dial up connetions it would be nice if we could swith off reporting of network errors completely.

As a hint: In my last project I used one single Error Box with history function for the whole program. If several errors happend faster then the user could commit them the message where only added to the histroy and the box was given focus. The box did not have the "on top of all other" flag set.

Completely eliminated all race conditions within error handling.

With Regards

Martin
Comment 1 Martin Krischik 2004-07-28 12:23:46 UTC
Sadly I have no KDE development experience - otherwide I would offer to reimplement the Box for you (The original is for the OpenClassLibrary).

Regards

Martin
Comment 2 Michael Jahn 2004-09-01 22:13:44 UTC
This is bug #26281, basically. However reporter also mentions a crash so I'll leave this one open.
Comment 3 Till Adam 2004-12-28 19:23:26 UTC
We've not seen message box related crashes in a while, so I'm closing this one as a duplicate.

*** This bug has been marked as a duplicate of 26281 ***