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

PIT:WindowStateListener not working for XAWT Switch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • client-libs
    • None
    • b26
    • x86, sparc
    • linux, solaris_8

      Window Events are not fired when the State of a Frame/JFrame are changed.
      To reproduce this:
      i) Run the attached code.(with XAWT Switch and Motif Switch)
      ii) A test gui opens, with a button "Change State", Try Clicking the Button, u can see whether proper Window Event is fired or not from the Console out put).

      The following observations comes out:
      i) Window State Change Event is not fired in case of XAWT Switch
      ii)Window State Change Events are fired in case of Motif.

      The behaviour for both Motif and XAWT is however is proper with Tiger b19.

      This is causing the following AWT Tests To fail:
      merlin/awt/Automated/UndecoratedFrame/AWT/Iconify/IconifyTest.html jtreg IconifyTest
      (UnDecoratedFrame)t.html jtreg IconifyTest_1
      merlin/awt/Automated/ZoomFrame/Frame/GetStateTest/GetStateTest.html jtreg GetStateTest
      merlin/awt/Automated/ZoomFrame/Frame/ListenerAddAndRemovalFrame/ListenerAddAndRemovalTest.html jtreg ListenerAddAndRemovalTest
      merlin/awt/Automated/ZoomFrame/Frame/MoreThanOneListener/MoreThanOneListenerTest.html jtreg MoreThanOneListenerTest
      merlin/awt/Automated/ZoomFrame/Frame/ProcessEvent/ProcessEventTest.html jtreg ProcessEventTest
      merlin/awt/Automated/ZoomFrame/Frame/WindowAdapter/WindowAdapterTest.html jtreg WindowAdapterTest
      merlin/awt/Automated/ZoomFrame/JFrame/GetStateTest/GetStateTest.html jtreg GetStateTest_1
      merlin/awt/Automated/ZoomFrame/JFrame/ListenerAddAndRemovalFrame/ListenerAddAndRemovalTest.html jtreg ListenerAddAndRemovalTest_1
      merlin/awt/Automated/ZoomFrame/JFrame/MoreThanOneListener/MoreThanOneListenerTest.html jtreg MoreThanOneListenerTest_1
      merlin/awt/Automated/ZoomFrame/JFrame/ProcessEvent/ProcessEventTest.html jtreg ProcessEventTest_1
      merlin/awt/Automated/ZoomFrame/JFrame/WindowAdapter/WindowAdapterTest.html jtreg WindowAdapterTest_1
      merlin/awt/Automated/ZoomFrame/UndecoratedFrame/GetStateTest/GetStateTest.html jtreg GetStateTest_2
      merlin/awt/Automated/ZoomFrame/UndecoratedFrame/ListenerAddAndRemovalFrame/ListenerAddAndRemovalTest.html jtreg ListenerAddAndRemovalTest_2
      merlin/awt/Automated/ZoomFrame/UndecoratedFrame/MoreThanOneListener/MoreThanOneListenerTest.html jtreg MoreThanOneListenerTest_2
      merlin/awt/Automated/ZoomFrame/UndecoratedFrame/ProcessEvent/ProcessEventTest.html jtreg ProcessEventTest_2
      merlin/awt/Automated/ZoomFrame/UndecoratedFrame/WindowAdapter/WindowAdapterTest.html jtreg WindowAdapterTest_2




            uwesunw Uwe Uwe (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: