#1121648 Unable to display some mails in kmail

Package:
kmail
Source:
kmail
Description:
full featured graphical email client
Submitter:
Maximilian Engelhardt
Date:
2025-11-29 22:17:02 UTC
Severity:
normal
#1121648#5
Date:
2025-11-29 22:09:40 UTC
From:
To:
Hi,

I noticed kmail in trixie can't display certain emails. It either displays
them as empty (white area) or the content of the previously viewed mail stays
there.

This problem seems to only affect mails of a certain size. Shorter mails are
displayed fine and longer mails are also displayed fine.

I'll attach a simple python script to generate dummy mails to show the
problem. Just open the generated dummy.mbox file in kmail and look at the
displayed window.

By changing the MAIL_TEXT_LENGTH variable you can vary the length of the
generated dummy mail. There are some example values in the script that
resulted in properly displayed mails and in an empty (white area) displayed
mail for me.

Please let me know if you need further information.
Thanks.