[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Re: RFR: 8221261: deadlock of CInputMethod.characterIndexForPoint and webkit.InputMethodClientImpl.g
From: Johannes Bechberger <jbechberger () openjdk ! org>
Date: 2023-12-29 14:08:48
Message-ID: fXuZ6N83jHsJQlbUDY0ULlbrC9ibWsSt3tRFPAGmvvs=.f48bf78e-0ee9-43d2-92fd-73f9c6b2bc80 () github ! com
[Download RAW message or body]
On Fri, 22 Dec 2023 11:27:00 GMT, Johannes Bechberger <jbechberger@openjdk.org> \
wrote:
> A dead-lock is caused by the interaction of MacOS, the AWTEventQueue and JavaFX \
> when the users pressed the Caps Lock key while the AWTEventQueue is processing \
> another event (more on this in the issue). The bug depends on the specific timing \
> of the event sending and can apparently be prevented by finishing all incoming OS \
> events directly while the LWCToolkit.invokeAndWait method is executed.
> This fix is tested and fixes the issue.
>
> I attached a small
> [reproducer](https://github.com/openjdk/jdk/files/13751865/Archive.zip), just run \
> it with `mvn install package javafx:run`.
That sounds like a good idea.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17184#issuecomment-1872115798
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic