Window.setLocationRelativeTo(null) on Ubuntu Unity doesn't use a center point

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs
    • Environment:

      Ubuntu 16.04 Unity

    • linux_ubuntu

      It seems that Window.setLocationRelativeTo(null) doesn't use GraphicsEnvironment.getLocalGraphicsEnvironment().getCenterPoint(). The actual coordinates of a Frame appears to be adjusted by a toolbar height, comparing to that center point.

      Try the attached small example.

            Assignee:
            Ajit Ghaisas
            Reporter:
            Yuri Nesterenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: