microsoft / microsoft/wslg

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

Open
#8 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
11.9k
Forks
429
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce on the stated HiDPI Surface Pro X setup with Ubuntu 20.04, ibus-pinyin, and gedit, then inspect weston.log, version.txt, and pulseaudio.log. Compare the candidate flyout position and scaling with the editor text position; done means the flyout follows the text and uses the expected 200% application scale.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.