Qt5 Window Issues
Nobody has claimed this yet.
- 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)
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.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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