[Kde-imaging] [Bug 263347] print wizard ignores selected paper size, reverts to A4

Angelo Naselli anaselli at linux.it
Mon Jan 30 16:50:32 UTC 2012


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





--- Comment #12 from Angelo Naselli <anaselli linux it>  2012-01-30 16:50:32 ---
(In reply to comment #11)
> I'm not a specialist of Qt4 print classes, but looking in code, it sound like
> you pass your QPrinter instance to KDEprint when printer properties dialog is
> create.
Correct and that is important to give the QPrintDialog settings previously
choose by user.

> QPrinter values are altered by dialog properties depending of options selected
> in settings. For paper size, i see this option disabled by default in
> properties.
Yes it could/should, because if you change printer properties you (B&W or
quality for instance) it should be appended to our previous setting. I know
that could be override it instead, but i can't manage all the settings before,
and i need some first (e.g page size for instance).

> Perhaps, as size is already selected in assistant before to open properties
> dialog of printer, you need to force Qprinter options relevant to be sure that
> KDEprint create properly all settings of printer.
KdePrint iirc the code inside, is just a wrapper to new QPrintDialog(...), i
tested it with the same result (read problems), so the issue is not there.
If you read my last commit i print 4 times the QPrinter papersize attribute,
and only after pressing ok that is changed (and without using properties
button). 

> Q: is KDEprint is the only solution to create printer properties dialog ? How
> Qt4 only applications do the same ? 
iirc as said new QPrintDialog() with the same parameters.

> QT4 do not provide a dedicated way to
> create printer properties dialog ? Perhaps there is a bug into KDEPrint ???
> 
IMO the bug is in QPrintDialog

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list