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

[macos] ServiceUI.printDialog location on macOS/OS X

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8, 9, 11, 12, 13, 14
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Environment:

      jdk9 up to b151 – but b107 behaves the same. OS X 10.12, 10.11

    • Subcomponent:
      2d
    • OS:
      os_x

      Description

      On macOS (10.12) and OS X (10.11) the height of a top inset is subtracted from the Y coordinate of the common print dialog.
      For instance, I have top inset 21 and order to put the dialog to 100,100 in the only, default graphics config. The resulting coordinate will be reported 100,79 and it is easy to see that the dialog is at the same distance from the screen edges -- ignoring the top toolbar.

      I'm choosing 2d as a subcomponent because the similar JDK-8159722 has been in 2d.

        Attachments

          Activity

            People

            Assignee:
            psadhukhan Prasanta Sadhukhan
            Reporter:
            yan Yuri Nesterenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: