microsoft / microsoft/wslg

Qt5 Window Issues

Open
#660 1 comment 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.22543.0
Your Distribution version: Debian 11
Your WSLg version: 1.0.27

Steps to reproduce

WSL logs:

  • Attach WSLg logs from /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

weston.log
versions.txt

Expected behavior

Menu features (i.e. the close button, docking/undocking button) should work for windows. The window should also be able to be moved. New windows should be able to be created by the app, causing those to be independently draggable.

Actual behavior

Windows created by the app are in the perimeter of the original app window frame and these buttons are non-functional. It is as if the window is created but it is on a different "layer" and I cannot interact with the window.

Note that the app is fine - it functions well on Xorg on a native linux on the same machine (Arch Linux), which is compiled from source. Both the compiled from source and packaged (Debian) applications exhibit the same behavior in WSL2.

Suspecting this is a Qt5 issue with WSLg.

Screenshot 2022-02-11 000142

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

Start by reviewing the attached weston.log and versions.txt from /mnt/wslg, then reproduce the issue with the Qt5-based ChimeraX application under WSLg. Compare the behavior of the main and newly created windows, including their close, docking, undocking, and movement controls. Done means Qt5-created windows are independently interactive and draggable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.