Skip to content

IME got wrong position when focus window with BrowserWindow's api on macOS mojave. #14834

@chairuosen

Description

@chairuosen
  • Output of node_modules/.bin/electron --version: tested 1.8.7 2.0.10 3.0.1
  • Operating System (Platform and Version):macOS mojave
  • Output of node_modules/.bin/electron --version on last known working Electron version (if applicable): none

Expected Behavior
IME got its correct position just behind cursor.
Able to submit words when press enter.

Actual behavior
IME shows at left bottom of screen and cannot submit to textarea.

To Reproduce

npm install
npm start
app is running. click another app to blur electron app
click Tray icon to focus app
type something with IME ( third party or not )

https://github.com/chairuosen/electron-bug-demo

Screenshots
Video: https://www.youtube.com/watch?v=flt6dDR-ApQ

Additional Information
tested both BrowserWindow.show() && BrowserWindow.focus()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions