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

Screen insets not updated when display settings are changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 1.4.2
    • client-libs
    • x86
    • windows_2000

      With the fix for 4654713, screen insets are now correctly updated when the Windows taskbar is moved onto a secondary monitor. However there is still one edge case where screen insets are reported incorrectly. If the taskbar is on a secondary monitor which is then removed from the Windows desktop, the taskbar is automatically moved to the remaining monitor. However, the insets for this monitor are still reported as 0,0,0,0. I wager that this matters almost never, but is a bug all the same. My first guess is that we need to recalculate the HMONITOR structures on a WM_DISPLAYCHANGE as we do for WM_SETTINGCHANGE. Such a change would require some ordering/locking/threading investigation.

            vbaranovsunw Vyacheslav Baranov (Inactive)
            bchristi Brent Christian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: