https://bugs.winehq.org/show_bug.cgi?id=55065
Bug ID: 55065 Summary: user32:monitor - check_preferred_mode() fails on the TestBot's debiant VM Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com Distribution: ---
user32:monitor - check_preferred_mode() fails on the TestBot's debiant VM:
monitor.c:1699: Tests skipped: Current display mode is already 1024x768, skipping test. monitor.c:1788: Test marked todo: Expected 0, got 50 monitor.c:1789: Test marked todo: Expected adapter device path, got empty string monitor.c:1729: Test failed: got -2. monitor.c:1788: Test marked todo: Expected 0, got 50 monitor.c:1789: Test marked todo: Expected adapter device path, got empty string monitor.c:1699: Tests skipped: Current display mode is already 1024x768, skipping test. monitor.c:1788: Test marked todo: Expected 0, got 50 monitor.c:1789: Test marked todo: Expected adapter device path, got empty string monitor.c:1729: Test failed: got -2. monitor.c:1788: Test marked todo: Expected 0, got 50 monitor.c:1789: Test marked todo: Expected adapter device path, got empty string
See: https://test.winehq.org/data/patterns.html#user32:monitor
The failures started with the commit below which introduced check_preferred_mode():
commit 24019f0d385c653d58be50f7941256e4e1c8b68a Author: Paul Gofman pgofman@codeweavers.com Date: Wed Apr 19 18:57:04 2023 -0600
win32u: Partially implement NtUserDisplayConfigGetDeviceInfo(DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE).