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

Requesting focus to a modeless dialog doesn't work on Safari

XMLWordPrintable

        Requesting focus to a modeless dialog doesn't work on Safari and Firefox.

        The problem appears if we trying to call toFront when embedded window is
        active in browser, this call is ignored, because for macosx the browser process is active
         and it ignores [nsWindow orderFront:nsWindow] call to java process windows.
        To fix this issue [NSApp activateIgnoringOtherApps:YES]; is used before
        [nsWindow orderFront:nsWindow]
        if an embedded frame is active window.

              mcherkas Mikhail Cherkasov (Inactive)
              asaha Abhijit Saha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: