Bug 513940

Summary: Printing dark mode
Product: [Applications] kate Reporter: Bart Vaes <vaesbart>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Bart Vaes 2025-12-29 08:48:34 UTC
***
Possible regression of Bug #487081 : print+preview in dark mode theme produces light/grey text on (white) paper.
***

SUMMARY
Tested with "Breeze dark", "Atom One Dark", "Nord" & "VSCodium Dark" themes. Every time I got a bugged preview window (not all text showing) and printing produced unreadable text.
I can only print after switching to a "Light" colour theme.


STEPS TO REPRODUCE
1. Select any dark mode theme
2. Write some text
3. Click "print preview" or Print directly

OBSERVED RESULT
Light text on white paper background, which is unreadable.

EXPECTED RESULT
Dark, readable text.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE Tumbleweed
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2026-01-01 21:14:07 UTC
Hmm, even with dark color schemes selected, printing uses for me the 'Printing' scheme and works.
Comment 2 Bart Vaes 2026-01-05 12:23:02 UTC
Since I can't upload webm files here, I've uploaded a screencast showing the issue to my personal server.
Here's the link: https://foss42.be/kate.html

Print preview is empty, printing gives broken-white letters on white background.
Comment 3 Christoph Cullmann 2026-01-10 16:21:50 UTC
Interesting!
Hmm.
Exactly that works for me, I have Frameworks 6.22.
Could you re-test with that version once that lands on your distro?