Bug 314755 - "Color options" from "Print Dialog -> Properties -> Advanced" override "Color options" from "Print Dialog -> Options -> Options"
Summary: "Color options" from "Print Dialog -> Properties -> Advanced" override "Color...
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 0.19.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 328219 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-09 12:07 UTC by Rosemary
Modified: 2018-01-25 12:13 UTC (History)
8 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 Rosemary 2013-02-09 12:07:07 UTC
I have only ever tried to print twice from Okular.  Both times I wanted to print a pdf in greyscale on paper and both times, it printed in colour.  I cannot say whether this relates to just the pdf backend as I have never tried to print from the other backends.  This bug differs from Bug 252596 which is about printing to file in colour.  My printer is a Canon Pixma MG3150 but the printer driver calls itself MG3100 Series and, its driver is available from http://www.canon.co.uk/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MG_series/PIXMA_MG3150.aspx?type=download&page=1  but I found some extra lines of coding in a forum somewhere that make the greyscale option available in the print dialogue box of most packages other than Okular.

LibreOffice Writer prints greayscale suggesting that the bug is in Okular rather than the driver

Reproducible: Always

Steps to Reproduce:
1.  Open a pdf.
2.  Press Ctrl+p and Printer Name defaults to MG3100-series.
3.  Click Options button.
4.  Choose the Options tab, check Greyscale and click OK.
Actual Results:  
A perfect colour print.

Expected Results:  
A perfect greyscale print.

My operating system is Kubuntu with KDE 4.9.4 but it also has Gnome installed.
Comment 1 Albert Astals Cid 2014-05-11 12:18:50 UTC
*** Bug 328219 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Neufeind 2015-10-26 07:37:23 UTC
Still an issue in Okular 0.22.0. I also had the problem of again printing in color by accident.
Comment 3 Eric L. 2017-07-23 06:16:03 UTC
This issue does still exist in okular-16.08.3-1.fc25.x86_64 respectively:

$ rpm -qa | grep print
libfprint-0.6.0-3.fc24.x86_64
kde-print-manager-libs-16.12.3-1.fc25.x86_64
kde-print-manager-16.12.3-1.fc25.x86_64
libchromaprint-1.2-4.fc24.x86_64
fprintd-0.7.0-2.fc25.x86_64
gutenprint-cups-5.2.11-2.fc24.x86_64
system-config-printer-udev-1.5.7-10.fc25.x86_64
gutenprint-5.2.11-2.fc24.x86_64
redhat-lsb-printing-4.1-33.fc25.x86_64
gutenprint-libs-5.2.11-2.fc24.x86_64
system-config-printer-libs-1.5.7-10.fc25.noarch
fprintd-pam-0.7.0-2.fc25.x86_64
(not sure which one might be exactly relevant)

Let me know if I can do anything to help solve this long standing issue, it seems easy to reproduce though.
Comment 4 Eric L. 2017-07-23 06:18:01 UTC
Sorry for the noise, could this bug be related to https://bugs.kde.org/show_bug.cgi?id=198795 ?
Comment 5 Luigi Toscano 2017-07-23 13:43:53 UTC
(In reply to Eric L. from comment #3)
> This issue does still exist in okular-16.08.3-1.fc25.x86_64 respectively:
> 

That version is still based on kdelibs4, so of course no changes.
The first Frameworks version of Okular is 1.0, part of KDE Applications 16.12.
Comment 6 csbugs 2017-08-15 14:41:51 UTC
I can confirm this in Opensuse Leap 42.3 using
- kde-print-manager-17.04.2-1.1
- okular-17.04.2-1.6
- Plasma 5.8.7
- plasma-framework 5.32-0-4.1
- libQt5.6.2
- kdelibs-4.14.33

no effect on choosing color/greyscale in the print dialog box if the standard is set to greyscale (or vice versa).
In evince it works though using gtk oder gnome(?) print dialog...
Comment 7 Peter Tselios 2018-01-04 12:35:57 UTC
I have exactly the same issue with okular (About menus says version 1.0.3) in Fedora 26:

RPMS:
okular-libs-16.12.3-1.fc26.x86_64
okular-16.12.3-1.fc26.x86_64
okular-part-16.12.3-1.fc26.x86_64
Comment 8 Michael Weghorn 2018-01-09 16:59:10 UTC
There is a review request for Qt that should in my understanding solve this bug as well: https://codereview.qt-project.org/#/c/215069/
Comment 9 Michael Weghorn 2018-01-25 12:13:35 UTC
(In reply to Michael Weghorn from comment #8)
> There is a review request for Qt that should in my understanding solve this
> bug as well: https://codereview.qt-project.org/#/c/215069/

As mentioned, the underlying problem is in the Qt print dialog which is used by Okular.
The problem has been fixed in the current development version of Qt (s. change mentioned above). Now, there are no longer two different places to select whether to print in color or grayscale, but this is only shown at one place: in the (reintroduced) "Advanced" tab

This improvement will be included in the upcoming Qt version 5.11, so once you have this, the reported problem will no longer occur.