https://bugs.winehq.org/show_bug.cgi?id=51590
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
--- Comment #1 from François Gouget fgouget@codeweavers.com --- Bug 43187 describes the rationale behind this test and has two associated commits (a8a2c0b9c587 and f5bb76f69a96).
Also running user32:monitor on Windows when the taskbar is on the top or left side shows that Wine's GetMonitorInfo() implementation is correct:
Windows taskbar on top: monitor.c:1360: primary monitor rcWork=(0,40)-(1024,768)
Windows taskbar on left: monitor.c:1365: work area (62,0)-(1024,768)
So the problem is more that the service is supposed to be non-interactive and thus should not return real work-area information but some default value. It seems like in Wine this is meant to fall into the NULLDRV_DEFAULT_HMONITOR case which returns hardcoded (0,40)-(640,480) values, though on Windows this should still match the real screen size.