Bug 386408 - Text color printed incorrectly
Summary: Text color printed incorrectly
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 1.0.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-10-31 23:23 UTC by SP
Modified: 2018-10-29 02:14 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SP 2017-10-31 23:23:59 UTC
I am printing to a Canon Pro 9000 MkII.  When I print with Okular v.1.0.3 the text color is wrong - eg; blue is printed as green and black appears to be grey.  If I use Evince the text color prints correctly - even though I am using KDE Plasma and not Gnome.  If I use other programs such as Linux Draw - the text colors print correctly.  

Other relevant info:
KDE Frameworks 5.38.0
Qt 5.7.1 (built against 5.7.1)
CUPS+Gutenprint v5.2.12 (color)
Comment 1 Albert Astals Cid 2017-11-02 21:44:54 UTC
Does print preview show the colors correctly?
Comment 2 SP 2017-11-03 04:10:25 UTC
(In reply to Albert Astals Cid from comment #1)
> Does print preview show the colors correctly?

Yes
Comment 3 Albert Astals Cid 2017-11-11 22:46:39 UTC
Then honestly i'd say it's your printer problem. We can leave this open but there's sincerely not much we can do.
Comment 4 Nate Graham 2017-11-12 22:46:27 UTC
I'm not sure it could be a problem with the printer, since the document prints correctly in other apps (Evince and Linux Draw were mentioned).
Comment 5 Albert Astals Cid 2017-11-12 23:05:01 UTC
Do i really need to explain you that even 
1+1
0+2
4/2
2*1
4^(1/2)
all equal to 2 some program may be buggy and fail to calculate it correctly? Now apply the same to printing
Comment 6 SP 2017-11-12 23:26:21 UTC
@Albert Astals Cid
I am not going to get into a pissing contest here but your logic is questionable.  If the printer prints correctly with other programs but not with one program, Okular, then there is a difference in the way those other programs interact with the Gutenprint driver that I use with the Canon Pro 9000 MkII and the way Okular does.  So the problem is with the program and not the hardware.
Comment 7 Albert Astals Cid 2017-11-12 23:49:52 UTC
You just did what you said you were not going to do.

Since it's clear you're smarter than me I'm waiting for your patch.
Comment 8 Christoph Feck 2017-11-15 21:34:02 UTC
Please also test 'qpdfview', which is a pure Qt program. If this reproduces the issue, the bug would be in the way Qt interacts with the printer drivers.
Comment 9 SP 2017-11-15 23:31:25 UTC
(In reply to Christoph Feck from comment #8)
> Please also test 'qpdfview', which is a pure Qt program. If this reproduces
> the issue, the bug would be in the way Qt interacts with the printer drivers.

Thank you for your response.  I tested the document again with all three pdf programs, Okular, qpdfview and Evince. The pdf document has a dark blue title and text in default black.  With Evince this all prints as expected.  With qpdfview the colors are correct - except they are lighter - the blue appears as a midtone and the text is dark grey.  With Okular the blue appears as a green and the text appears as a grey.  So you may well be right.  It could be the way Qt is interacting with the printer drivers.  I have also tested all three with another document with a green title and body text in black.  All three programs print the title as green - with Evince rendering a dark green and black body text, qpdfview as the same but lighter and Okular as much lighter overall.  I also notice that when I check the Options in Okular it is set to Greyscale by default - which I change to colour before I print.  In the other programs Colour is set as a default.
Comment 10 Michael Weghorn 2017-12-16 15:39:46 UTC
(In reply to SP from comment #9)
> [...]  I
> have also tested all three with another document with a green title and body
> text in black.  All three programs print the title as green - with Evince
> rendering a dark green and black body text, qpdfview as the same but lighter
> and Okular as much lighter overall. [...]

Can you possibly attach any of the documents with which the problems occurs for you?
Comment 11 Christoph Feck 2018-01-02 20:13:33 UTC
If you can provide the information requested in comment #10, please add it.
Comment 12 Christoph Feck 2018-01-17 23:44:44 UTC
To further investigate this issue, KDE developers need the information requested in comment #10. If you can provide it, or need help with finding that information, please add a comment.
Comment 13 Andrew Crouthamel 2018-09-28 03:40:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Andrew Crouthamel 2018-10-29 02:14:02 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!