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

Vertically maximizing Frame hangs AWT event dispatch thread

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version " 1.7.0_10 "
      Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
      Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      OS is Windows 7 64-bit.

      A DESCRIPTION OF THE PROBLEM :
      Vertically maximizing a Frame in Windows 7 causes the AWT event dispatch thread to hang. Unmaximizing the Frame allows the AWT event dispatch thread to resume.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. In Windows 7, run any AWT application. demo/jfc/Notepad/Notepad.jar is sufficient.
      2. Resizing the window by dragging its top border, until the mouse pointer reaches the top of the desktop.
      3. Release the mouse. The window will be vertically maximized.
      4. The bottom portion of the window is not repainted, and no part of the window will respond to user input.
      5. Unmaximize the window by double-clicking the title bar.
      6. Repainting and user input will now function normally.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A vertically maximized window should act exactly like any other resized window. The AWT event dispatch thread should not be affected.
      ACTUAL -
      The AWT event dispatch thread appears to hang while the window is vertically maximized.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            nnatu Nakul Natu (Inactive)
            webbuggrp Webbug Group
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: