https://bugs.winehq.org/show_bug.cgi?id=56993
Bug ID: 56993 Summary: Can not change desktop window resolution (pixel size) Product: Wine Version: 9.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@winehq.org Reporter: fanwj@mail.ustc.edu.cn Distribution: ---
desktop only can set to default resolution successful. for example, run wine explorer.exe /desktop=test,800x600
It set explorer.exe resolution incorrect.
I found that handler of message WM_DISPLAYCHANGE incorrectly. It use size by NtGetVirtualScreenRect instead of lparam(resolution size)
https://bugs.winehq.org/show_bug.cgi?id=56993
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Regression SHA1| |fecfb442405011f123d2458aac7 | |c42d9f1a28330 CC| |dark.shadow4@web.de, | |rbernon@codeweavers.com Ever confirmed|0 |1
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Bisected to
commit fecfb442405011f123d2458aac7c42d9f1a28330 Author: Rémi Bernon rbernon@codeweavers.com Date: Wed Mar 27 08:57:10 2024 +0100
win32u: Use named adapters instead of struct gdi_adapter.
https://bugs.winehq.org/show_bug.cgi?id=56993
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Also linking MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/6150
https://bugs.winehq.org/show_bug.cgi?id=56993
--- Comment #3 from Rémi Bernon rbernon@codeweavers.com --- I believe this should be fixed after 5ffe201c251977a82303c45db9e6445028dc30d1, could you confirm?
https://bugs.winehq.org/show_bug.cgi?id=56993
--- Comment #4 from fanwenjie fanwj@mail.ustc.edu.cn --- OK(In reply to Rémi Bernon from comment #3)
I believe this should be fixed after 5ffe201c251977a82303c45db9e6445028dc30d1, could you confirm?
Yes
https://bugs.winehq.org/show_bug.cgi?id=56993
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |5ffe201c251977a82303c45db9e | |6445028dc30d1 Status|NEW |RESOLVED
--- Comment #5 from Rémi Bernon rbernon@codeweavers.com --- Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=56993
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.15.