JDK-6200374 : PIT: Frame flickers when hiding and sohwing the child windows on win32
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-11-25
  • Updated: 2011-01-19
  • Resolved: 2004-12-07
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.
JDK 6
6Resolved
Related Reports
Duplicate :  
Description
I have a frame, a child dialog and a child window. I show all of them initially. On clicking a button on the window, I am hiding the dialog and and window. Then on clicking a button on the frame, dialog and window re-appears but there is lot of flickering happening within the frame and dialog when the child windows re-appear. This is reproducible only on the following PIT build, on win32 alone.
java version "awt.pit-jcg-win-03-2004-11-23-Tue-int.mustang"
Java(TM) 2 Runtime Environment, Standard Edition (build awt.pit-jcg-win-03-2004-11-23-Tue-int.mustang)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b13, mixed mode)

Not reproducible on solaris / linux. Not reproducible on Mustang-b13. 

Run the attached test on win32. You will see a frame, dialog and a window. Click on the Show/Hide button on the window (Do not click on any other controls). Dialog and window will disappear. Click on the 'Show ALL' button on the frame. Dialog and window will appear again but you will notice that the frame and dialog flickers for a couple of seconds. 

Notes on reproducibility:
Do not click on anything else apart from the mentioned buttons. This seems to be reproducible only during the first click of those buttons. Subsequent clicks does not trigger this issue. So make sure you try the above steps immediately after the windows are shown. On some systems, the flickering continues non-stop until I click on the window or the button.


Comments
EVALUATION can't reproduce with pit-build on Windows2000 ###@###.### 2004-11-25 13:09:52 GMT Reproducible on Windows XP only. After pressing the button "Show" flickering effect is visible: it looks like focus transfers from the Frame to Dialog and then goes back to Frame very fast. This is most possible a focus problem and it may be uncovered thread race in focus mechanism. You may need to run the test several times to see the bug. I've reproduced this bug on PC "Dasein" with XP style activated. Haven't tried with Windows Classic style. ###@###.### 2004-11-26 09:17:19 GMT This bug is the result of the bug 6200789. The problem with requestFocusInWindow() call. ###@###.### 2004-12-07 14:59:51 GMT
25-11-2004