I have a suspicion regarding the kmail "Retrieving Folder Contents -
Please wait ..." problem.
I started getting this problem recently.
It was happening on a folder where imap is used with
gmail.com.
I changed one of the imap parameters, on
gmail.com,
and for the moment, the problem disappeared.
I went to the "Forwarding and POP/IMAP" Setting in
gmail.com,
found the "When I mark a message in IMAP as deleted:" setting,
and changed the setting
from "Auto-Expunge on - Immediately update the server. (default)"
to "Auto-Expunge off - Wait for the client to update the server."
Oh my, no wonder Mark Crispen has such scathing words for google's imap
implementation, they may as well call this gmail setting:
"actually follow imap behavior and specficiation (default not)"
-- rex