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

[macOs] Remove obsolete file dialog subclasses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jfx15
    • 8, jfx14
    • javafx
    • None

        This is a follow-on fix to JDK-8234474.

        The macOS window toolkit implementation of the file open, directory open, and file save dialogs subclasses NSSavePanel and NSOpenPanel to provide custom support for Copy (CMD-C), Cut (CMD-X), and Paste (CMD-V) operations that the standard Apple dialogs do not support. This customization is not allowed for sandboxed applications (see JDK-8092977) and is no longer supported at all as of macOS 10.15 (see JDK-8234474).

        The fix for JDK-8234474 is to use the NSSavePanel and NSOpenPanel base classes directly when running on macOS 10.15 or later. We should remove this functionality entirely, since it is ineffective going forward and will provide a more consistent experience on all macOS platforms.

              kcr Kevin Rushforth
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: