Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileChooser - cannot drag-and-drop files from the Finder (macOS) #600

Open
Sciss opened this issue Dec 23, 2019 · 1 comment
Open

FileChooser - cannot drag-and-drop files from the Finder (macOS) #600

Sciss opened this issue Dec 23, 2019 · 1 comment

Comments

@Sciss
Copy link
Contributor

Sciss commented Dec 23, 2019

This works nicely on Linux, and I use it frequently: You have an open JFileChooser, and from the desktop manager (e.g. Nautilus on Linux or Finder on Mac), you drag and drop a file or directory onto the file chooser to select it. Somehow the DnD is rejected on macOS (tested with JDK 8 and JDK 11 on macOS 10.13.6). I have other places in my app, where I use this drag-and-drop functionality, and it does work on macOS, so I guess it is a file-chooser specific issue (perhaps single file versus file-list).

@mgarin
Copy link
Owner

mgarin commented Dec 25, 2019

Probably related to: #423
Shortly, there was a bug in JDK8: https://bugs.openjdk.java.net/browse/JDK-8160941

Although it is marked as fixed in JDK 8 update 152, so it shouldn't have appeared on any JDK 11 for you (potentially). It will require some testing to see what's happenening and if it is related. I'll put this to a few other Mac OS X issues I'm going to focus on shortly after the performance improvements I'm working on right now.

@mgarin mgarin added this to the v1.2.12 milestone Dec 25, 2019
@mgarin mgarin modified the milestones: v1.2.12, v1.4.0 Jan 10, 2020
@mgarin mgarin removed this from the v1.4.0 milestone Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants