JDK-6571808 : REG: Modal-Blocked frame not restored when clicked on taskbar,after minimizing it using ShowDesktop
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-06-20
  • Updated: 2011-01-19
  • Resolved: 2009-05-06
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 7
7 b30Fixed
Related Reports
Relates :  
Relates :  
Description
Run SwingSet2 on WinXP using the JDK7-b14 AWT PIT/promoted build

- Go to JFileChooser Demo
- Click on Custom FileChooser.
- When the file chooser is visible, press 'Windows' button + D. Everything gets minimized to desktop.
- Now click on the Java icon on the taskbar.

You can notice that only the dialog is getting restored and not the parent frame, on jdk7-b14. On jdk7-b13 promoted build, the SwingSet2 main window (blocked) is also getting restored alongwith the dialog. Since parent frame is not restored, clicking on the '?' or 'Find' buttons on the restored Custom JFileChooser opens up jdialogs on the top-left corner of the screen (perhaps, those jdialogs are placed relative to the main frame).

On SolSParc10, SwingSet2 main window gets restored properly alongwith the FileChooser. This is a regression in JDK7-b14 on WIn32.

Comments
EVALUATION Using the WM_DISABLED style fixes the problem.
18-03-2008