Re: Mac drag-and-drop questions

2021-10-13 Thread Martin Fox
While researching JDK-8153032 I realized that part of the drag-and-drop API doesn’t make sense to me. From what I can determine there’s no reliable way of figuring out whether the user is holding down a modifier key or not while processing a drag event. On Windows DragEvent::getTransferMode()

Re: Mac drag-and-drop questions

2021-09-30 Thread Martin Fox
Kevin, As a heads up there are actually two behavior changes to be reviewed. JavaFX is picking up some archaic behavior from the OS which thinks that the modifier key for LINK is Control. The Finder switched over to Option+Command a long time ago and I think JavaFX should follow suit. As for

Re: Mac drag-and-drop questions

2021-09-30 Thread Kevin Rushforth
If changing the default behavior makes it consistent with native apps on macOS and with JavaFX apps on other platforms, then it seems like the right thing to do. We would want a CSR for the behavior change As for your question about finding the bug using the old "RT-" bug ID, you can just

Mac drag-and-drop questions

2021-09-30 Thread Martin Fox
I was just looking at JDK-8237329 which is a drag-and-drop bug on the Mac; holding down the Command key alone is guaranteed to disable an internal dnd operation. I’m putting together a PR to fix this. While going through the bug database looking for related bugs I ran across JDK-8153032 which