Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.8.2
-
None
-
Mac OS X 10.6.8, Xcode 3.2.6, Qt/Cocoa 4.8.2
-
-
23401a1462ffd601172d17365ff07118f198c438
Description
QPrinter::setOrientation is documented to have no effect during a job on the Mac.
This was a limitation of PMSetOrientation in 10.4, which was lifted in 10.5.
At present QMacPrintEngine::setProperty handles PPK_Orientation by checking to see if the printer is active and if so ignoring the change. This could be changed to:
case PPK_Orientation: { if (d->state == QPrinter::Active && QSysInfo::MacintoshVersion < QSysInfo::MV_10_5) { qWarning("QMacPrintEngine::setOrientation: Orientation cannot be changed during a print job, ignoring change"); } else { ..... }
This would allow Mac OS X 10.5 or higher to behave as per other platforms.
Attachments
Issue Links
- is required for
-
QTBUG-25383 QtPrintSupport - macOS Issues
- Closed