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

Gray rect fix causes delay in maximization

XMLWordPrintable

    • b32
    • x86
    • windows_nt, windows_2000, windows_xp

      After the gray rect fix (bug number 4967886) there is a noticeable delay in maximization on Windows (NT and 2000).

      For example, consider SwingSet2:

      - Move SwingSet2 to the center of the screen
      - Hit the maximize button

      Here's what happens:

      1) The native Window holding SwingSet2 grows to fill the screen
      2) The GUI content moves to the top left, but the rest of the Window remains damaged / not repainted.
      3) GUI is repainted correctly to fill the entire window

      Between steps 2 and 3, there is a noticeable delay (on my machine close to a second). This is a regression introduced by the gray rect fix.

      I saw this problem on my NT machine. Dual processor. NVidia GeForce2-GTS.
      ###@###.### reports the same problem on Windows 2000. His machine information is attached as an HTML file.

      Also attached is a screen-shot captured by ###@###.### during the delay between steps 2 and 3.
      ###@###.### 2005-03-23 19:28:02 GMT

            svioletsunw Scott Violet (Inactive)
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: