JDK-8089923 : Gtk: Window position doesn't get updated on Linux
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: 8u20
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-07-18
  • Updated: 2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
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).
Comments
This is likely an insets-detection problem in Glass GTK. The property notify event that reports the insets (FRAME_EXTENTS) values gets processed too late, hence the belated FX event with the correct window position. Alexander: if you have a quick fix for this problem, please feel free to take on this bug.
04-08-2014

This is probably a glass issue rather than a controls issue.
18-07-2014