Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8164733

PageRanges are not set on MacOS

XMLWordPrintable

    • x86_64
    • os_x

      Reproducible: always
      Platform-specific: yes, MacOS only. Works fine on Windows with native dialog and Linux with swing print dialog.
      Testsuite: FXSceneGraphTests
      Test name: test/manual/printing/NativePrintDialog.java
      Platform: Mac10.11, JDK8u112b09 amd64
      Is it a Regression: No (OS-version dependent?)

      Steps to reproduce:
      1. Run attached sample
      2. Click "Print" button, change printed page ranges and click print button (page will not be printed)
      Expected result (Windows, Linux): page ranges printed to stdout.
      Actual result: "Empty ranges" in stdout, job.getJobSettings().getPageRanges() is null.

        1. NativePrintDialog-1.png
          44 kB
          Tony Li
        2. NativePrintDialog-2.png
          89 kB
          Tony Li
        3. PrintingApp.java
          2 kB
          Andrey Rusakov

            prr Philip Race
            tonyli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: