Skip to content

The X window is displayed at an incorrect scale ratio on the primary monitor when multiple monitors with different resolutions are connected. #1416

@novumdxw

Description

@novumdxw

Windows build number:

10.0.26200.7628

Your Distribution version:

24.04

Your WSL versions:

WSL 版本: 2.6.3.0
内核版本: 6.6.87.2-1
WSLg 版本: 1.0.71
MSRDC 版本: 1.2.6353
Direct3D 版本: 1.611.1-81528511
DXCore 版本: 10.0.26100.1-240331-1435.ge-release
Windows: 10.0.26200.7628

Steps to reproduce:

  1. connect a monitor that has a different resolution from the primary one.
  2. run WSL from the terminal.
  3. run android studio from the WSL

WSL logs:

pulseaudio.log

weston.log

stderr.log

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

The X window is displayed at an incorrect scale ratio on the primary monitor when multiple monitors with different resolutions are connected.
The first two pictures are result of running Andoird Studio with WSLg.
The last two pictures are result of running Andoird Studio on a virtual machine, accessed via SSH with X11forwarding.
Image

Image Image Image

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