[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: Integrated: 8331319: IME Window breaks after popup menu
From: Martin Fox <mfox () openjdk ! org>
Date: 2024-04-30 20:10:56
Message-ID: -0DEXJELZd4kUJkF6oYWb4qvLsbWJGk4UCzXEJpZS4E=.34a42d34-6a63-4078-8d44-121d204bf662 () github ! com
[Download RAW message or body]
On Tue, 30 Apr 2024 14:52:50 GMT, Martin Fox <mfox@openjdk.org> wrote:
> When focus moves away from a node JavaFX calls `finishInputMethodComposition` so \
> glass can clean up any in-progress IME editing. On Mac we call `discardMarkedText` \
> on the view's NSTextInputContext to dismiss the IME.
> It appears that the OS can get confused if `discardMarkedText` is called on an \
> NSTextInputContext that is not the current active context. JavaFX popups are \
> displayed in windows that don't have OS focus and therefore do not have the active \
> input context but the JavaFX scene associated with the popup doesn't know this and \
> still makes calls to manipulate the IME. This seems to be triggering a bug in the \
> OS that leads to bad behavior which persists until the user moves focus away from \
> the main JavaFX stage altogether and then brings it back.
This pull request has now been integrated.
Changeset: cac81b52
Author: Martin Fox <mfox@openjdk.org>
URL: https://git.openjdk.org/jfx/commit/cac81b52fdeca763f3da21523c1582af3407aaf3
Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
8331319: IME Window breaks after popup menu
Reviewed-by: kcr, angorya
-------------
PR: https://git.openjdk.org/jfx/pull/1447
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic