https://bugs.kde.org/show_bug.cgi?id=391678

ria...@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ria...@yahoo.com
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #1 from ria...@yahoo.com ---
I can confirm this behavior to a certain extent. I've also noticed that the
Print Preview in Kate shows gray text on a white background. When you print it
from there, I can confirm that it prints with gray text. When you print the
document with the normal print dialog it's printed with black text on the white
paper. 

I think this may be caused by the usage of color schema in Kate. My default
color schema is set to Breeze Dark but the normal print dialog shows that this
schema is overridden with the "Printing" schema (under Options > Layout). This
seems correct behavior as it causes the text to be printed correctly. But it
seems like this schema isn't applied in the Print Preview. When you print from
the Print Preview page, the print dialog doesn't show the Layout tab containing
the color schema, as in the normal print dialog.

The problem here seems to be that the print dialog from the preview is intended
to print exactly as shown in the Print Preview and limits the options to ensure
that. But the color schema for printing isn't applied to this preview, and
there is no option to change this. 

Additionally, it seems like the Print Preview doesn't use the background color
defined in the schema. This may be correct, since this background is defined as
"Editor Background Colors" so they may only apply to the editor. However, the
print dialog also has an option to print the background color (off by default)
so it may still be able to print this background color. In this case, it may be
good to show this in the print preview as well. 

Reproduction
* Configure Kate to use "Breeze Dark" as default color schema (Editor Component
> Fonts & Colors). 
* Open the Print dialog (File > Print...), click on Options >> and go to the
Layout tab. Make sure that the schema is set to "Printing"
* Write some text in the document and open the Print Preview
* The Print Preview shows the text in the color of the "Breeze Dark" color
schema (instead of the "Printing" color schema defined for printing)
* Click the Print button from the Print Preview and click on Options >>.
Confirm that there is no Layout tab containing an option for the color schema. 
* Print the document and notice that it prints the text in gray.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to