On Tue, 26 Dec 2023 16:48:19 GMT, Martin Fox <m...@openjdk.org> wrote:

> When reporting input method candidate position the code in 
> GlassViewEventHandler is not applying the platform scale factors. This is 
> causing incorrect IM positions to be reported to glass on hi-dpi monitors.
> 
> This PR a no-op on Mac since the platform scale factors are always 1.0. I 
> don't think it affects the current Linux XIM code at all but XIM is so 
> out-of-date it has become difficult to test. PR #1080 will replace the old 
> XIM code and needs this fix to work properly on hi-dpi screens.

This pull request has now been integrated.

Changeset: 5b1fce55
Author:    Martin Fox <m...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/5b1fce559d6a3abb8ab19daf6b1177dc4ba3fcdd
Stats:     13 lines in 1 file changed: 13 ins; 0 del; 0 mod

8189282: JavaFX: Invalid position of candidate pop-up of InputMethod in Hi-DPI 
on Windows
8254126: the position of Chinese Input Method candidates window is wrong

Reviewed-by: kcr, arapte

-------------

PR: https://git.openjdk.org/jfx/pull/1311

Reply via email to