https://bugs.winehq.org/show_bug.cgi?id=56042
Bug ID: 56042 Summary: Failed to get thread's DpiAwareness context with NET .8 Product: Wine Version: 9.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tw0ali@tutanota.com Distribution: ---
Created attachment 75697 --> https://bugs.winehq.org/attachment.cgi?id=75697 Logs
I'm getting this error while using a program called PKHeX (https://projectpokemon.org/home/files/file/2445-pkhex-development-build/)
https://bugs.winehq.org/show_bug.cgi?id=56042
minrosa9 tw0ali@tutanota.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Failed to get thread's |Failed to get thread's |DpiAwareness context with |DpiAwareness context with |NET .8 |.NET 8
https://bugs.winehq.org/show_bug.cgi?id=56042
--- Comment #1 from minrosa9 tw0ali@tutanota.com --- This is happening when using right click in the main interface or when opening menus like "File > Save"
https://bugs.winehq.org/show_bug.cgi?id=56042
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 75698 --> https://bugs.winehq.org/attachment.cgi?id=75698 patch
I think immediate failure is SetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2), it's not handled by GetAwarenessFromDpiAwarenessContext() that will return DPI_AWARENESS_INVALID. That in turn will return 0 from SetThreadDpiAwarenessContext().
This needs some tests obviously.
https://bugs.winehq.org/show_bug.cgi?id=56042
--- Comment #3 from minrosa9 tw0ali@tutanota.com --- Tried to build with the patch and it worked fine!
https://bugs.winehq.org/show_bug.cgi?id=56042
DvLangg@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |DvLangg@gmx.de
--- Comment #4 from DvLangg@gmx.de --- Related Bug: https://bugs.winehq.org/show_bug.cgi?id=55630
https://bugs.winehq.org/show_bug.cgi?id=56042
--- Comment #5 from minrosa9 tw0ali@tutanota.com --- I've been using Wine with the patch for a month now and the bug is completely fixed. Can this be added to the master?
https://bugs.winehq.org/show_bug.cgi?id=56042
houruinus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |houruinus@gmail.com
--- Comment #6 from houruinus@gmail.com --- I was also unable to run PKHeX and the patch works perfectly for me. Would love to see this upstream. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=56042
amidevous amidevous@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |amidevous@gmail.com
--- Comment #7 from amidevous amidevous@gmail.com --- Duplicate of Bug #55630 #56042 #55630 and 56304
https://bugs.winehq.org/show_bug.cgi?id=55630 https://bugs.winehq.org/show_bug.cgi?id=56042 https://bugs.winehq.org/show_bug.cgi?id=56304
good and more in 2023 in this case why since then it is still not resolved while you have published several wine updates since when we send you bugs it is so that it can be resolved either immediately or at the latest in the next version except you have published several updates without fixing this bug
https://bugs.winehq.org/show_bug.cgi?id=56042
--- Comment #8 from amidevous amidevous@gmail.com --- I remind you that the goal of the development versions is precisely to improve the program.
Which means that any bugs that have been reported must be resolved before you release a version on the stable branch.
Apart from that, this bug was apparently reported to you for the first time on 2023-09-21 we are on 2024-02-07 you have published several versions of wine since then both on the devel and stable branches and yet this problem is still not not resolved.
I also remind you that what the Linux community has been waiting for from the Wine project for over 10 years.
It is guaranteed that 100% of Windows programs are functional. and those without any exceptions which means that fixing reported bugs should be your number 1 priority.
Especially since on the contrary 100% of Linux programs are compatible with Windows.
https://bugs.winehq.org/show_bug.cgi?id=56042
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #75698|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=56042
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Marking as dupe of bug 55630.
*** This bug has been marked as a duplicate of bug 55630 ***
https://bugs.winehq.org/show_bug.cgi?id=56042
--- Comment #10 from amidevous amidevous@gmail.com --- solved by Fabian Maurer
https://gitlab.winehq.org/wine/wine/-/merge_requests/5064
https://bugs.winehq.org/show_bug.cgi?id=56042
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.