RFR: 8297191: [macos] Printing a page range with starting page > 1 results in missing pages [v3]

Alexey Ivanov aivanov at openjdk.org
Tue Nov 25 21:29:02 UTC 2025


On Tue, 25 Nov 2025 19:38:08 GMT, Phil Race <prr at openjdk.org> wrote:

> > Indeed, it fixes this bug, but it breaks [JDK-8061258](https://bugs.openjdk.org/browse/JDK-8061258) and its test java/awt/print/PrinterJob/DlgAttrsBug.java… or maybe not because DlgAttrsBug.java fails without either version of the fix.
> 
> Isn't that because of https://bugs.openjdk.org/browse/JDK-8341058 ? ie a macOS bug fixed in macOS 26.

Yes, I think it's the one. I have no access to a host with macOS 26.

I suspect that both `DlgAttrsBug.java` and `PageRangesDlgTest.java` will fail if we comment out the calls to set `fromPage` and `toPage` in `printingDictionary` in the `javaPrinterJobToNSPrintInfo` function in `CPrinterJob.m`.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/11266#issuecomment-3577652342


More information about the client-libs-dev mailing list