[Kde-imaging] [Bug 281719] New: Wizard -> Page Setup -> Paper Size: Use QPrinterInfo to get the printer's supported paper sizes instead of QPrinter defaults (or: cropping issues with photo paper)

Thomas Kuther gimpel at sonnenkinder.org
Fri Sep 9 22:02:28 UTC 2011


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

           Summary: Wizard -> Page Setup -> Paper Size: Use QPrinterInfo
                    to get the printer's supported paper sizes instead of
                    QPrinter defaults (or: cropping issues with photo
                    paper)
           Product: kipiplugins
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: PrintWizard
        AssignedTo: kde-imaging at kde.org
        ReportedBy: gimpel at sonnenkinder.org


Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

I'm having some trouble with cropping images and print them on photo paper
using the wizard.
The region I select in the cropping page doesn't match what ends up on the
photo paper in the end (mostly 10x15cm in my case).

I think it's because in the first page of the wizard, where you select the
printer/fileformat, in "page setup" you only have a list of paper sizes
provided by the QPrinter class. When selecting "Custom" I cannot enter/change
any values, so I leave it at A4.

In the standard printer dialog after the wizard, all known paper sizes are
shown correctly.

I looked around the code a bit, and found this:
http://doc.qt.nokia.com/latest/qprinterinfo.html
-> QList<QPrinterInfo> QPrinterInfo::availablePrinters ()
and:
-> QList<QPrinter::PaperSize> QPrinterInfo::supportedPaperSizes () const

Could this be used in the wizard to gather supported paper sizes for the real
printers?

Reproducible: Always

Steps to Reproduce:
1. Start print wizard
2. select (real) printer, correct paper size isn't available in "page setup"
dialog
3. select "full page" profile
4. on cropping page slect a region of the image (e.g. quite in the middle)
5. finish wizard, in printer dialog now one can select correct paper size
6. print it

Actual Results:  
cropping wrong on the printout

Expected Results:  
print comes out as shown on cropping page of the wizard

If it matters, I use an Epson PX720WD and tested both Avasys and Gutenprint
drivers.

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