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

[macOs] Remove obsolete file dialog subclasses

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, openjfx14
    • Fix Version/s: openjfx15
    • Component/s: javafx
    • Labels:

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: