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

REG: Current Display Mode is not returned properly on multi-mon after a display mode change, win32

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b51
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      I am calling GD.getDisplayMode() to get the current display mode of each of the devices on a multi-monitor system having a virtual screen with 2 monitors. This method returns correct values initially. But when this app is running, I am manually changing the display modes of both the devices such as ref rate, bit depth etc in the display settings. After this change, calling this method on both the devices return the same set of values for width, height, ref rate and bit depth though both the devices have their own values for the given parameters.

      This is noticed on WinXP, only since 1.5. Not reproducible on 1.4.2. Hence this is a regression introduced in Tiger. Reproducible on Mustang-b21 also.

      I have attached a sample test. Execute the sample test on a multi-mon winXP machine. You would see a frame with a button. Click on the button. It would print the display mode of all the devices available on the system. Goto the display settings and change the Refresh Rate and Color depth of both the monitors. Click on the button again. If you see same set of values being printed twice, the bug is reproduced.
      ###@###.### 2005-2-07 06:41:33 GMT

        Attachments

          Activity

            People

            Assignee:
            tdv Dmitri Trembovetski (Inactive)
            Reporter:
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: