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).
https://bugs.winehq.org/show_bug.cgi?id=55065
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |24019f0d385c653d58be50f7941 | |256e4e1c8b68a Keywords| |regression, source, | |testcase
https://bugs.winehq.org/show_bug.cgi?id=55065
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=55065
--- Comment #1 from Paul Gofman pgofman@codeweavers.com --- I sent a MR https://gitlab.winehq.org/wine/wine/-/merge_requests/3376 which should hopefully fix it.
https://bugs.winehq.org/show_bug.cgi?id=55065
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a7ba20867974c5e377c283f155d | |bd129250521c0 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #2 from Paul Gofman pgofman@codeweavers.com --- That should've been fixed some time ago with a7ba20867974c5e377c283f155dbd129250521c0.
https://bugs.winehq.org/show_bug.cgi?id=55065
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc1.