Skip to content

Incorrect menu placement in Qt 6 applications #582

@Aerocatia

Description

@Aerocatia

Environment

Windows build number: Windows 11 build 10.0.22000.318
Your Distribution version: Arch Linux (installed roughly as per https://github.com/nckslvrmn/arch_linux_wsl2) *mesa-d3d12 is installed from the AUR
Your WSLg version: 1.0.26 (store preview)

Steps to reproduce

Run any Qt6 application with menus. Open a menu and it will be offset by some amount. If using multimon and the program is on a second monitor the menu can be completely out of bounds.

Expected behavior

CMake GUI:
Note: CMake GUI saves something in its config file that happens to work around this issue. It will work as expected after the first run and ~/.config/Kitware/CMakeSetup.conf is created.

cmake-working

Actual behavior

CMake GUI (First Run):
cmake-broken

A GB emulator (Always):
sameboy-broken

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindow-managementWindow management issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions