[Kde-print-devel] [Bug 116387] kprinter corrupts output colour if OKing printer driver settings

Michael Goffioul kdeprint_bugs at swing.be
Wed Nov 16 09:18:02 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116387         




------- Additional Comments From kdeprint_bugs swing be  2005-11-16 09:18 -------
Talking about options not being added when equal to default value, this only applies to driver options (those found in the PPD file), which "profile" is not. So there's probably a problem, the "profile" option being lost when opening the printer properties dialog.

For Cristian: looking at how I implemented it, I assumed that the properties dialog would recreate *all* print options. If you look at KPrinterPropertiesDialog::setupPrinter(), you see that the print options set is recreated from scratch. This means that if some print option is not handled by some property page, it's lost. I think some merging should occur at this point,
by making use of the m_options data member (which should contain the complete set of updated print options). I don't remember why I didn't do it that way, maybe there are some side-effects I don't remember.

Michael.


More information about the Kde-print-devel mailing list