Bug 488605 - When you try to print a document, the right colors are not selected, making the print invalid
Summary: When you try to print a document, the right colors are not selected, making t...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 24.05.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-16 23:09 UTC by Giulio
Modified: 2024-09-13 18:36 UTC (History)
1 user (show)

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


Attachments
katerc (4.21 KB, text/plain)
2024-06-25 13:03 UTC, Germano Massullo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giulio 2024-06-16 23:09:55 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

When you try to print a document, the right colors are not selected, making the print invalid
STEPS TO REPRODUCE
1. By selecting 'print', the color of the text above the paper is too light and unreadable.
2. By selecting 'print preview', the background and text color on the screen changes, reproducing this change on the printer as well.
3.  The same effects are also obtained using 'Kwrite'.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Germano Massullo 2024-06-25 13:03:46 UTC
Created attachment 170957 [details]
katerc

confirming the bug on 24.05.0
Comment 2 Christoph Cullmann 2024-09-13 18:36:00 UTC
Git commit 786fc1c139e56d9e143b1a9a707e28527f1eafd1 by Christoph Cullmann.
Committed on 13/09/2024 at 18:35.
Pushed by cullmann into branch 'master'.

ensure modify the renderer that is used for printing

instead of altering the renderer of the view we do want to
print
Related: bug 465526, bug 487081, bug 483550

M  +7    -7    src/printing/printpainter.cpp

https://invent.kde.org/frameworks/ktexteditor/-/commit/786fc1c139e56d9e143b1a9a707e28527f1eafd1