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

[macosx] JobAttributes#setFromPage and setToPage do not work on OS X when DefaultSelectionType is not set to RANGE

XMLWordPrintable

    • 2d

      It is not a regression.
      JobAttributes#setFromPage and setToPage do not work on OS X when DefaultSelectionType is not set
      to RANGE.
      If we JobAttributes#setDefaultSelection(JobAttributes.
                                                  DefaultSelectionType.ALL); (or SELECTION)
      and then call JobAttributes#setFromPage and setToPage fields in print dialog are not changed.

      On Windows all is OK. It is OS X issue.

      Test fails on MAC OS X:
      AWT_Printing/Manual/AttributeChange_Native/AttributeChange_NativeTest.html jtreg "manual"

      Run details:
      http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=436269.ManualSubmit-1

        1. qqq1.png
          qqq1.png
          41 kB
        2. PrintTest.java
          1 kB
        3. Mac-selection.png
          Mac-selection.png
          563 kB

            psadhukhan Prasanta Sadhukhan
            ampopov Alexander Popov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: