wslg scaling behaviour arbitarily change between desktop and laptop
Windows build number:
26100.6584
Your Distribution version:
Debian 12
Your WSL versions:
WSL version: 2.6.1.0 Kernel version: 6.6.87.2-1 WSLg version: 1.0.66 MSRDC version: 1.2.6353 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26100.6584
Steps to reproduce:
inside wsl,
add below into ~/.bashrc
export GDK_SCALE=2
inside windows
~/.wslgconfig
[system-distro-env]
XCURSOR_SIZE=48
WAYLAND_CURSOR_SIZE=48
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
No response
Actual behavior:
the above config keeps cursor and icon, text align with windows hidpi ui elements on my desktop, which has resolution at 5120x2880, 200% scale in windows.
the same setup will end up with 2x cursor, icon, text size on laptops, in this case, surface pro 9 and 11, 2880x1920, also 200% scale
even worse, i can set cursor size to half, but i can't keep the high dpi scale on mobile without doubling the size of everything.
before someone mention WESTON_RDP_DISABLE_HI_DPI_SCALING=true, that is not needed on my desktop, and it DOES NOT work on laptops.
there need to be some transparency here, how the scaling behavior is affected. Is it platform role, or threshold of dpi.
and if this is ever implemented as a "feature", please fix this as a bug.
My understanding is that something implicitly applied WESTON_RDP_DEBUG_DESKTOP_SCALING_FACTOR=100
ok boss
rrryvybob;jobs' is a great