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

Gtk: Window position doesn't get updated on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u20
    • javafx
    • None
    • Linux Ubuntu 14.04 LTS x64. Unity 7.2.0

      Use the attached test to reproduce the issue.
      When an application window appears on the screen the window position gets changed several times (see the console output). This is fine.
      But sometimes when you try to resize the window horizontally (or vertically) you can see in the console that the window position listeners reporting that the position gets updated which shouldn't happen - window stays at the same place, just resized.
      This affects ComboBox control as well. You will see that the PopupControl is torn apart from the ComboBox itself.
      This issue is not always reproducible, better when launched in NetBeans.

      There is a workaround (commented in the code in windowProperty change listener).

            tsayao Thiago Sayao
            stayer Kirill Kirichenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Imported: