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

D3D: Component event is not triggered when the display mode is changed to a different resolution

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b11
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      I am creating a JFrame and adding a JComponent to it. I have extended from JComponent and has overridden processComponentEvent() so as to get COMPONENT_RESIZED event to recreate the back-buffer according to the new size of the frame. When I run this test on 6u10, the JComponent is not getting the COMPONENT_RESIZED event when the display mode is changed for the parent JFrame.

      I reproduced this on WinXP, WinVista with ATI as well as Nvidia video boards, with 6u10 b09. This is not reproducible on earlier releases of JDK6+, Not reproducible with D3D pipeline on JDK6-FCS. Hence this is a regression in jdk6-u10.

      I have attached a sample test. Execute the sample test and check whether COMPONENT RESIZED message is printed on the console. Or alternatively, check whether the contents of the frame are resized to the screen size when the display mode changes. If not, the bug is reproduced.

        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: