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

Resizing window to maximum height makes children components unworkable [win8 pro only]

    Details

      Description

      FULL PRODUCT VERSION :
      java version " 1.7.0_21 "
      Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
      Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)

      Note: The problem exists only in Java 7. It does not exist in Java 6.

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.2.9200]

      Note: The problem is reproduced only under Windows 8 Pro. It is not reproduced under Windows 8.

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      The problem is reproduced on both 32-bit and 64-bit Systems.

      A DESCRIPTION OF THE PROBLEM :
      If resizing a window to maximum height, most children components in this window become unworkable. For example, radio buttons do not respond to mouse clicking. Trying to enter a text in text boxes has no effect. Some components might still remain workable. Push buttons usually remain workable. Main menu sometimes remain workable. Components in the title bar always remain workable (criss-cross button on the right, etc.). Besides, visual artifacts might appear after resizing.
      Notes:
      1) The problem exists only for windows based on JFrame. Windows based on JDialog seem OK.
      2) Maximizing a window (e.g. by double-clicking its title bar) works fine. You have to increase just the window height by dragging top or low edge for reproducing the problem.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Make sure you run Windows 8 in Desktop mode.
      2. Download JDK 7 Demos and Samples by the following link http://download.oracle.com/otn-pub/java/jdk/7u21-b11-demos/jdk-7u21-windows-i586-demos.zip
      3. Unpack the archive to, say, C: drive, so that C:\jdk1.7.0_21 is created.
      4. In Windows Explorer, open the following folder: C:\jdk1.7.0_21\demo\jfc\FileChooserDemo
      5. Run the demo application by double-clicking FileChooserDemo.jar
      6. Make sure FileChooserDemo window is opened.
      7. Move the window to the center of the screen. Actually it is not absolutely necessary, but simplifies reproducing the problem.
      8. Grab the bottom edge of the window by mouse and drag it to the very bottom of the screen. At the end, please do not release the mouse too quick. Keep it pressed for a moment. After releasing it, make sure the top edge automatically jumps to the very top of the screen.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Window child components (radio buttons, checkboxes) are clickable. So, when user clicks them, they respond appropriately.
      ACTUAL -
      All radio buttons and check boxes do not respond to clicking.
      Besides, visual artifacts might appear: some components are simultaneously displayed in two different places.
      Note: The problem is easy to reproduce. However sometimes you might see the problem does not appear. This depends on the way you operate with the mouse. Details written in Step 8 above might be important.

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ssadetsky Semyon Sadetsky (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: