RFR: 8297191: [macos] Printing a page range with starting page > 1 results in missing pages [v5]
Alexey Ivanov
aivanov at openjdk.org
Wed Nov 26 17:22:04 UTC 2025
On Wed, 26 Nov 2025 16:25:04 GMT, Christian Heilmann <duke at openjdk.org> wrote:
>> This PR fixes a bug that caused no or the wrong set of pages to be printed when using page ranges on macOS.
>>
>> The main fix is to change the 'location' value of the returned NSRange from the knowsPageRange method to 1 in the native class PrinterView.m.
>
> Christian Heilmann has updated the pull request incrementally with two additional commits since the last revision:
>
> - Merge branch 'pr/8297191' of https://github.com/christianheilmann/jdk into pr/11266
> - added 8297191 to @bug
I've run all the client automatic tests, and there are no failures.
I'd like to run all manual and automatic printer tests locally (on a host that has a printer configured). I'll appreciate if you could run them too, especially the tests in `test/jdk/java/awt/print` and `test/jdk/javax/awt/print`.
-------------
Marked as reviewed by aivanov (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/11266#pullrequestreview-3512002256
More information about the client-libs-dev
mailing list