Change Priority of JDK-8231513
Sebastian Stenzel
sebastian.stenzel at gmail.com
Thu Oct 17 11:53:41 UTC 2019
I found another software with this problem, claiming that switching from "Event Tapping" to "Global Event Monitoring" helped fixing the issue:
https://www.irradiatedsoftware.com/help/cinch/ <https://www.irradiatedsoftware.com/help/cinch/>
Quote: "A new "Input Monitoring" permission was added in macOS 10.15 Catalina which detects apps using an Event Tap (even if just for mouse events) and pops up this warning."
In JavaFX, we're using Event Tapping, too. Maybe this is the root cause:
https://github.com/openjdk/jfx/blob/jdk-11+14/modules/javafx.graphics/src/main/native-glass/mac/GlassTouches.m#L189-L193 <https://github.com/openjdk/jfx/blob/jdk-11+14/modules/javafx.graphics/src/main/native-glass/mac/GlassTouches.m#L189-L193>
> Am 17.10.2019 um 13:44:14 schrieb Kevin Rushforth <kevin.rushforth at oracle.com>:
>
> I just raised the priority to P3. It hits every JavaFX application the first time you move the mouse into the window. It's already targeted to openjfx14, but if anyone has time to take a look at this, a contribution would be welcome.
>
> -- Kevin
>
>
> On 10/17/2019 3:45 AM, Dan Howard wrote:
>> Yes. Please! I was looking at this a while ago but I'm not familiar enough with the source to see where the problem lies.
>>
>> On 10/16/2019 5:52 PM, Sebastian Stenzel wrote:
>>> I would like to ask whether it doesn't make sense to give this issue a little more attention than P4:
>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8231513
>>>
>>> Essentially, as Kevin Rushforth confirmed in the Ticket, any JavaFX application will trigger a warning on the latest stable macOS release that it is requesting permissions to an API to receive key events.
>>>
>>> I want to stress that denying this permission will not impair the functionality of any JavaFX controls in any way.
>>>
>>> Nevertheless this warning lets any JavaFX application appear as a malware. This is especially worrying for productivity apps used in enterprise environments. The only thing downstream developers can do atm is fingerpointing at JavaFX, which harms its spread as a UI frameworks for cross platform dev.
>>>
>>> I suggest to solve this earlier than with openjfx-14, since it will affect any JavaFX app for any macOS Catalina user.
>>>
>>> See related discussions:
>>> - https://forums.developer.apple.com/thread/123797
>>> - https://stackoverflow.com/questions/58094615/javafx-tornadofx-cause-keystroke-receiving-prompt-on-macos-10-15-catalina
>>>
>>>
>
More information about the openjfx-dev
mailing list