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

The security icon and the flashy border is misplaced on WinXP and Win2K

XMLWordPrintable

    • b01
    • b31
    • generic
    • generic

      After the fix for 6711576 the new function is used to determine the bounds of a top-level window: if running on Vista it uses a DWM-specific method to retrive the bounds, otherwise it must fall bacl to the old method of using the WinAPI ::GetWindowRect() function.

      However, the logic in the if(){} statement was broken, and the old method was never invoked. This caused the method to return garbage instead of the real bounds of the window on systems earlier than Vista.

            anthony Anthony Petrov (Inactive)
            anthony Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: