Bug 506981 - Kmail does not display attachments text correctly when using dark theme
Summary: Kmail does not display attachments text correctly when using dark theme
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (other bugs)
Version First Reported In: 6.3.3
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-13 08:18 UTC by tnemeth
Modified: 2025-07-13 08:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
dark theme with unreadable attachment text and useless smiley (411.09 KB, image/png)
2025-07-13 08:18 UTC, tnemeth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tnemeth 2025-07-13 08:18:50 UTC
Created attachment 183195 [details]
dark theme with unreadable attachment text and useless smiley

SUMMARY

    When receiving mails (non-html) with human readable attachment (txt, patches, ...) the attachments
    are displayed at the end of the message. However when using a dark theme, they are displayed with
    black font over dark background. It makes them unreadable.

    Moreover the attachments contents are interpreted as if they were the contents of the message text
    and smileys are inserted where they shouldn't leading to, again, unreadable attachment text.


STEPS TO REPRODUCE
1. Switch to a dark theme
2. Receive a non-html mail with a txt or patch attachment that contains ":)" for example
3. Look at the attachment in the mail-read window.


OBSERVED RESULT
    The attachment is displayed with black text over dark background and text is interpreted to insert smileys.


EXPECTED RESULT
    The attachment should be either white text over dark background or (prefered) black text over light-gray
    background and no contents interpretation to transform text into smileys.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.35+deb13-amd64 (64-bit)
Graphics Platform: X11