On 9/27/2015 1:46 AM, Sergey Bylokhov wrote:
On 24.09.15 22:42, Semyon Sadetsky wrote:
For unknown reason Frame#setBounds() was performed in two steps: set
size then move in the XDecoratedPeer.
The fix for JDK-4985250 have split XMoveResizeWindow into two calls:
XResizeWindow + XMoveWindow. We need to understand why.
As it's seen from JDK-4985250 description this fix should eliminate
extra component move event in CDE Linux when toFront() is called. But
the fix was done long time ago so it's hard to understand now was it
wrong or correct because the XDecoratedPeer got many changes after that.
Probably the algorithm to sync frame location was the root cause or it
didn't work correctly with CDE. I cannot reproduce JDK-4985250 in recent
Ubuntu and OEL.