Skip to content

Input method editors do not appear in the correct location in Windows #422

@magreenblatt

Description

@magreenblatt

Original report by Dave Tarkowski (Bitbucket: David Tarkowski).


When using an IME in Windows, the IME widget does not appear below the cursor, it appears at the upper left corner of the primary monitor.

Downloading releases from https://github.com/jcefmaven/jcefbuild/releases, I was able to reproduce this issue in the most recent [JCEF 08efede (bb) + CEF 100.0.14+g4e5ba66+chromium-100.0.4896.75](https://github.com/jcefmaven/jcefbuild/releases/tag/1.0.26) but not in the older [JCEF 56fb723 (bb) + CEF 95.7.14+g9f72f35+chromium-95.0.4638.69](https://github.com/jcefmaven/jcefbuild/releases/tag/1.0.22). I suspect that this issue is more related to the Chromium version than the JCEF version since I noticed this when we updated libcef/Chromium to use Chromium v99, but did not change the underlying JCEF version. I am not able to reproduce this from the cefclient sample application from the main CEF distribution.

This isn’t 100% reproducible when running the sample application from the download, but once it happens once in a given session, it happens 100% of the time.

Reproduction steps:

  1. Download and build [JCEF 08efede (bb) + CEF 100.0.14+g4e5ba66+chromium-100.0.4896.75](https://github.com/jcefmaven/jcefbuild/releases/tag/1.0.26)
  2. Configure Windows to use a non-English language, I’m using Japanese
  3. Configure the IME to use Hirigana
  4. Start sample app
  5. Click into the address bar in the sample app. It appears that a Swing component needs to have focus first to effect this issue.
  6. Click into the input field in the Google page and start typing. The IME should appear at the upper left

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions