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

regression :try to change the label & state of the menu & menuitem on fly, results in grap between

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: 6-pool
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_10

      Description

      Try to change the label & state of the menu & menuitem on fly, results in grap between menu & submenu. This happens only for the first time. This i observed in a manual regression testcase test/java/awt/Menu/OnFlyRepaintMenuTest/OnFlyRepaintMenuTest.java. Actually this is a regression testcase for the bug 5024051 ([Cinnabar] Suntea can't work with JRE1.5.0-beta2-b44).

      Step to Reproduce:
      -------------------
      1) Run the regression testcase test/java/awt/Menu/OnFlyRepaintMenuTest/OnFlyRepaintMenuTest.java. or i have attached the testcase.
      2) You can read the instruction on the dialog for more information on the testcase.
      3) Select "Test Frame" applet. The applet contains a Menu called "Menu" with three menuItems & a button called " Change State".
      4) Move the "Test Frame" applet to center of the screen & resize the frame. so that size of the button is increased.
      5) click on the "Change State" button.
      6) Immeditaly Click on the menu called "Menu" & click on submenu named "SubMenu". so that you can see submenu called "SubMenuItem".
      7) After some time , the menu & menuitem gets disabled & changes the all the menu state & MenuItem labels to "Disabled". Observe that there is a grap between the "Disabled" menu & its submenu called "Disabled".

      If you see the same behaviour, then the bug is reproduced.
      If works fine till Mustang b36, but fails from Mustang b40 onwards till b104.

        Attachments

          Activity

            People

            • Assignee:
              dav Andrei Dmitriev (Inactive)
              Reporter:
              lpremkumsunw Lawrence Premkumar1 (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: