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

[Mac, Robot] DatePicker calendar popup is not shown on second click using robot

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9, 10, openjfx11
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      The date picker calendar popup is not displayed when clicked using robot for second time.
      The issue is observed only on Mac, with both old and new implementation of robot.
      Attaching test programs:
      1. Old robot : DatePickerOldRobotTest.java
      2. New robot [JDK-8090763] : DatePickerRobotTest.java

      Steps: [Line: DatePickerRobotTest.java]
      1. Click DatePicker to show calendar popup. [Line:61]
      2. Select date from calendar popup. [Line:64]
      3. Repeat 1 -> This does not show calendar popup. [Line:66]
      4. Repeat 2 -> Does not work as 3 failed. [Line:69]

      Another way to observe the issue:
      1. Comment line 66 to 69
      2. Execute the program
      3. Manually click once on DatePicker, calendar popup does not get displayed.
      4. Click again manually on DatePicker, calendar popup gets displayed.

      If all the above steps are performed manually using mouse then issue does not happen.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                arapte Ambarish Rapte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: