On Mon, 19 Jan 2026 09:03:31 GMT, Christian Heilmann <[email protected]> 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 with a new target base due to 
> a merge or a rebase. The incremental webrev excludes the unrelated changes 
> brought in by the merge/rebase. The pull request contains 13 additional 
> commits since the last revision:
> 
>  - Merge branch 'master' of https://github.com/christianheilmann/jdk into 
> pr/11266
>    
>    # Conflicts:
>    #  src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m
>  - Changed copyright year to 2026
>  - Merge branch 'pr/8297191' of https://github.com/christianheilmann/jdk into 
> pr/11266
>  - Merge branch 'openjdk:master' into pr/8297191
>  - added 8297191 to @bug
>  - Update PrinterView.m
>  - Update PrinterView.h
>  - Update CPrinterJob.m
>  - 8297191 fixed printing page range for e.g. page 2 to 2 on macOS
>  - 8297191 fixed printing page range for e.g. page 2 to 2 on macOS
>  - ... and 3 more: https://git.openjdk.org/jdk/compare/c0fb6bc9...4de8582f

Marked as reviewed by aivanov (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/11266#pullrequestreview-3678090034

Reply via email to