Virtual desktop incorrectly sized

Questions about Wine on Linux
Locked
lemonzest
Level 2
Level 2
Posts: 12
Joined: Sun May 10, 2020 12:49 pm

Virtual desktop incorrectly sized

Post by lemonzest »

Hiya I've had a bug open for a few months now with no views or comments, so I thought I'd post here for a few more eyeballs

The issue is, on a 100% scaled 4K display window sizes 1920x1080 and 2560x1440 are not correctly sized, they are cutting off the bottom lines of the window count of the title bar size (so instead of window + title bar its just counting window size and chopping off the bottom of the display, cropping games etc)

Bug number is https://bugs.winehq.org/show_bug.cgi?id=50981

Many thanks for any and all help.
fargodwe

Re: Virtual desktop incorrectly sized

Post by fargodwe »

Have you tried running from the command line with the /desktop=x,y option for wine?
lemonzest
Level 2
Level 2
Posts: 12
Joined: Sun May 10, 2020 12:49 pm

Re: Virtual desktop incorrectly sized

Post by lemonzest »

I figured it out, it's the window manager not doing what it's told, I tried the following the other day, but had forgotten to update the bug.

openbox: Works
blackbox: Works
Mutter: (GNOME 40) Works
pekwm: Works
Metacity: (Gnome-Flashback) Failed
Muffin: (Cinnamon) Failed

The latter two DM were the ones I was using.

The window managers that work can open the correct window sizes that are asked for in the virtual desktop settings in winecfg, so a 2560x1440 window on a 3840x2160 screen, the ones that fail do not open the correct size, they open a 1920x1080 window and crop everything else.
Locked