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

Angelo Naselli anaselli at linux.it
Sat Jan 28 19:12:12 UTC 2012


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





--- Comment #10 from Angelo Naselli <anaselli linux it>  2012-01-28 19:12:11 ---
Note (1) is the only workaround to this QT problem. Gilles i can explain and
give you all you need to help me in fixing by coding, but at the moment i can't
do anything.

If i use my printer (as said 30 is custom page) and choose 10x15 cm (4x6")
photo page i *need* to enter it again in printer properties otherwise
QPrintDialog changes my QPrinter settings (e.g. the ones the user chose step by
step).
Here a kDebug output of our QPrinter paper page after Custom setup as 4x6":
KIPIPrintImagesPlugin::Wizard::accept: (1) paper page  30

QPrinter got from QPrintDialog as soon as it's been created:
KIPIPrintImagesPlugin::Wizard::accept: (2) paper page  30

QPrinter got from QPrintDialog after accept() (without using properties):
KIPIPrintImagesPlugin::Wizard::accept: (3) paper page  0

Trying to revert using setPaperSize():
QPrinter::setPaperSize: Illegal paper size 30

So the output is:
KIPIPrintImagesPlugin::Wizard::accept: (4) paper page  0

If i use standard page size however the problem persists because if i set it
again the output page is wrong.

Gilles have you got anything to suggest?

-- 
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