RFR: 8189282: JavaFX: Invalid position of candidate pop-up of InputMethod in Hi-DPI on Windows [v3]

Martin Fox mfox at openjdk.org
Wed Jan 3 03:33:05 UTC 2024


> 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.

Martin Fox has updated the pull request incrementally with one additional commit since the last revision:

  Reverting file

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1311/files
  - new: https://git.openjdk.org/jfx/pull/1311/files/401f5117..6ce899f9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1311&range=02
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1311&range=01-02

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jfx/pull/1311.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1311/head:pull/1311

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


More information about the openjfx-dev mailing list