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

The TestNoScreenMenuBar test should be updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • client-libs
    • b21
    • generic
    • generic

      This test tried to run an external application to make itself non-active and then sets and checks the global menu.

      But it has a few issues:
       - As an external app, the "System Settings" app is used, but it looks like in macOS Catalina this app was moved, and nothing actually starts
       - The external app is closed via osascript which required special permission, and it is requested via a modal dialog if not granted already
       - It looks like the attempt to close(already closed) the "System Settings" via osascript actually activate it instead

      It is better to use something else as an external app.

            serb Sergey Bylokhov
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: