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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b31
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: