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

[TEST_BUG]Exited event on Button shouldn't be fired,after press Enter key.

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_ubuntu

      Description

      Testsuite name: Regression
      JDK/JRE tested: JDK7u45b05(32bit)
      OS/architecture: ubuntu12.04-x86
      Reproducible: Always
      Reproducible on machine: ubuntu12.04-x86

      Instructions:
      You see a plain JFrame with JButton in it and Frame with Button in it.
       
      Following steps should be accomplished for both of them (for Frame and for
      JFrame).

       If any of the following
       third steps fails, press Fail.
       
      Let A area is the area inside Button.
       
      Let B area is the area inside Frame but not inside Button.

       Let C area is the area outside Frame.
       
      Stage 1:

       1) Put the mouse pointer into A area.

       2) Press Alt+Space (or other sequence opening the system menu from the
      top-left corner)
       and resize the Frame so the pointer remains in A.
       3) Press Enter key. No event should be fired.
       
      Stage 2:
       Repeat Stage 1 with area B.

       Stage 3:
       Repeat Stage 1 with area C.
       
      Stage 4:
       1) Put the mouse pointer into A area.
       
      2) Press Alt+Space and resize the Frame so the pointer becomes in B.
       
      3) Press Enter key. Exited event on Button and Entered event on Frame should
      be fired.
       
      Stage 5:
       1) Put the mouse pointer into A area.
       
      2) Press Alt+Space and resize the Frame so the pointer becomes in C.
       
      3) Press Enter key. Exited event on Button should be fired.
       
      Stage 6:
       1) Put the mouse pointer into B area.
       
      2) Press Alt+Space and resize the Frame so the pointer becomes in A.
       
      3) Press Enter key. Exited event on Frame and Entered event on Button should
      be fired.

       Stage 7:
       1) Put the mouse pointer into B area.

       2) Press Alt+Space and resize the Frame so the pointer becomes in C.
       
      3) Press Enter key. Exited event on Frame should be fired.
       
      Stage 8:
       1) Put the mouse pointer into C area.
       
      2) Press Alt+Space and resize the Frame so the pointer becomes in A.
       
      3) Press Enter key. Entered event on Button should be fired.
       
      Stage 9:
       1) Put the mouse pointer into C area.
       
      2) Press Alt+Space and resize the Frame so the pointer becomes in B.

       3) Press Enter key. Entered event on Frame should be fired.

       Stage 10:
       Repeat Stages from 4 to 9 with using Move command rather then Resize.
       Note, that when the pointer jumps to the titlebar when you select "Move
      window",
       it is OK to fire Exited event.
      Then, if the pointer returns to component back,
       it should fire Entered event.


      Actual behavior:
      1)From the at stage 4 after press Enter key. Exited event on Button shouldn't be fired.

      2)This case failed as time out even though we setting the "time out " time as 100.

      3)The instruction should be updated ,we don't understand how to test.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: