Bug 197911 - kwrite printing with dark theme prints light text on paper
Summary: kwrite printing with dark theme prints light text on paper
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: VHI normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 188934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-26 01:35 UTC by David Rankin
Modified: 2016-04-01 16:44 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Rankin 2009-06-26 01:35:03 UTC
Version:            (using KDE 4.2.90)
Installed from:    SuSE RPMs

Printing from kwrite/kate/quanta when the kde4 color scheme is set to a dark theme like Obsidian Coast or Zion (reversed) where you have light text on a dark background causes the print output to be unreadable.

Essentially, the applications correctly discard the background color, but use the white (or light gray) text color as the print color resulting in printing white on white -- not very useful.

Printing in this case was from kwrite to a hp laserjet 4

A screenshot of the dark color scheme use is:

http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/kwrite-printing.jpeg

The print dialog schema was at the default "kwite-printing" setting:

http://www.3111skyline.com/download/openSUSE_bugs/kde4/screenshots/kwrite-print-schema.jpeg

The only things that printed dark enough to read were the word wrap indicators which were not very useful. This needs to be fixed post-haste....
Comment 1 Thomas Lübking 2009-06-29 22:30:32 UTC
- did you select the "kwrite - printing" scheme in the layout tab of the advanced print settings and 
- is it setup to print black on white

(just asking, i haven't tried myself as i don't kill trees for no good reason)
;-P
Comment 2 David Rankin 2009-07-01 19:12:02 UTC
Yes, I confirmed that the kwrite-printing scheme was specified in the advance print settings. This is indeed an unintended consequence of dark-themes that got overlooked.

It like printing without toner :p
Comment 3 Matthew Woehlke 2009-07-29 20:08:03 UTC
...And the colors in the 'printing' scheme also show up as light-on-dark? Hmm, probably those should be really hard-coded instead of using the system color scheme.
Comment 4 Dominik Haumann 2010-05-08 03:32:15 UTC
*** Bug 188934 has been marked as a duplicate of this bug. ***
Comment 5 Dominik Haumann 2011-08-06 15:25:47 UTC
This is because loading the colors defaults to the color scheme.
As long as we do that, printing is broken. So it needs to be treated as a special case, imo.
Comment 6 Christoph Cullmann 2012-11-03 15:31:11 UTC
Git commit 1abf862307c93f7d191eb4c37206e98338eac29d by Christoph Cullmann.
Committed on 03/11/2012 at 16:30.
Pushed by cullmann into branch 'master'.

Ship preconfigured Normal + Printing
Have a KDE schema to fallback to KDE color schema without any problems
Printing has NO black background ;)

M  +1    -1    part/data/CMakeLists.txt
M  +58   -0    part/data/kateschemarc
A  +47   -0    part/data/katesyntaxhighlightingrc

http://commits.kde.org/kate/1abf862307c93f7d191eb4c37206e98338eac29d
Comment 7 Erica J. 2015-11-17 01:05:57 UTC
Why does this say resolved fixed when it's still a problem?  I'm using kate 15.08.3 in Arch Linux and no matter what I set as the printing schema it still prints in the display schema minus background color.  Since I use Breeze Dark that's super-light gray on white.
Comment 8 Dominik Haumann 2016-04-01 16:44:18 UTC
The bug you are seeing is old, and if you are using the KF5 based version, this bug was fixed in 2015-10, so at the end of last year. You will likely get the update soon, please test again with a recent KDE Frameworks version (say KDE Frameworks 5.19 or 5.20)