Skip to content

IME flyout window is far away from application window (DPI issue?) #8

@imbushuo

Description

@imbushuo

Environment

Windows build number: 10.0.21331.1000 rs_prerelease arm64
Your Distribution version: Ubuntu 20.04
Your WSLG version: 0.2.13

Steps to reproduce

  1. Pick up a device with HiDPI monitor without vGPU driver installed, e.g. Surface Pro X
  2. Install IME package ibus, ibus-pinyin; Install random app like gedit
  3. Configure ibus in IBus Preferences, confirm to start IBus daemon, add Chinese/Pinyin input method, configure IME switch key to avoid collision with Windows, keep the window open to keep IBus daemon open

ibus
pinyin

  1. In another WSL window, start gedit: GTK_IM_MODULE=ibus gedit
  2. Switch to IME, type something, watching the IME candidate flyout window going randomly everywhere.

WSL logs:

Expected behavior

It should follow text in the editor as usual. For example:
image

Actual behavior

The IBus candidate selection flyout window goes everywhere. Also app is in 200% scale while the IME is 100%.

Screenshot (4)

Screenshot (5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions