https://bugs.winehq.org/show_bug.cgi?id=45765
Bug ID: 45765 Summary: Universe Sandbox 2 unimplemented function USER32.dll.GetPointerType Product: Wine Version: 3.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: patryk@kowalczyk.ws Distribution: ---
Universe Sandbox since version 2.20 use native windows touch and need function GetPointerType from library USER32.dll.
Application crash and workaround is not possible.
implementation on windows:
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getp...
best regards,
https://bugs.winehq.org/show_bug.cgi?id=45765
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62229 --> https://bugs.winehq.org/attachment.cgi?id=62229 patch, add stub for GetPointerType
Hi,
Does this patch help (add stub for GetPointerType)?
Regards
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- This seems to be Win8+ export, does this game work on Windows 7?
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #3 from patryk@kowalczyk.ws --- Hi, I'll try recompile wine with path tomorrow. Previous version works on win7. I have not testes last version on windows 7. The requirement for system is : Windows 7 SP1+ .
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #4 from patryk@kowalczyk.ws --- Hi, I have tested app with patched wine and application runs on windows 8 profile but I have got logs like below and mouse doesn't work.
007f:fixme:win:GetPointerType (0 0x23ebb0): stub 007f:fixme:win:GetPointerType (1 0x23ebb0): stub 007f:fixme:win:GetPointerType (1 0x23ebb0): stub 007f:fixme:win:GetPointerType (1 0x23ebb0): stub 007f:fixme:win:GetPointerType (0 0x23e220): stub 007f:fixme:win:GetPointerType (0 0x23f000): stub 007f:fixme:win:GetPointerType (0 0x23f050): stub 007f:fixme:win:GetPointerType (0 0x23f000): stub 007f:fixme:win:GetPointerType (0 0x23ecc0): stub 007f:fixme:win:GetPointerType (0 0x23ecc0): stub
best regards,
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62239 --> https://bugs.winehq.org/attachment.cgi?id=62239 stub try 2, fake success
(In reply to patryk from comment #4)
Hi, I have tested app with patched wine and application runs on windows 8 profile but I have got logs like below and mouse doesn't work.
Hi thanks for trying, i got two more questions:
- As Nicolai asked already, is this crash/problem only present when you set version to win8, or does it also happen in win7 mode?
- Does behaviour change with attached patch try 2? (apply on top of previous patch)
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #6 from patryk@kowalczyk.ws --- Hi,
- As Nicolai asked already, is this crash/problem only present when you set
version to win8, or does it also happen in win7 mode?
I have that same behaviour on winmode 7 and 8. So Without patch on both of them application die with that same errors. With path1 application running but have that same stub problem. btw on mode 10 I have that same behave.
- Does behaviour change with attached patch try 2? (apply on top of previous
patch)
I'll back to you after tests.
best regards,
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #7 from patryk@kowalczyk.ws --- Hi, With patch2 I have that same errors and problems but after more tests the conclusion is:
mouse work on patch1 and patch1 and 2 until you will not change focus to other window. When you will back to the application mouse doesnt work anymore.
best regards,
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #8 from patryk@kowalczyk.ws --- Hi, Errors like "007f:fixme:win:GetPointerType (0 0x23ebb0): stub" I have before and after focus change.
best regards,
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com ---
conclusion is:
mouse work on patch1 and patch1 and 2 until you will not change focus to other window. When you will back to the application mouse doesnt work anymore.
Ok , thanks, so either the stub is insufficient, or it might be another problem. I guess I the bug remains open then; Last question: does emulating a virtual desktop (in winecfg -->graphics) change anything?
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #10 from patryk@kowalczyk.ws ---
Ok , thanks, so either the stub is insufficient, or it might be another problem. I guess I the bug remains open then; Last question: does emulating a virtual desktop (in winecfg -->graphics) change anything?
Hi, Yes, emulating a virtual desktop "solved" the problem and mouse working when you change focus to the other window.
best regards,
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #11 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62257 --> https://bugs.winehq.org/attachment.cgi?id=62257 small test for GetPointerType
Hi,
I ran attached small test on wine`s testbots, and it shows all win7-machines don`t export GetPointerType.
I find it very strange that your game crashes in win7 mode. I guess it should crash on real Windows-7 too then, mysterious....
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #12 from patryk@kowalczyk.ws --- (In reply to Louis Lenders from comment #11)
Created attachment 62257 [details] small test for GetPointerType
Hi,
I ran attached small test on wine`s testbots, and it shows all win7-machines don`t export GetPointerType.
I find it very strange that your game crashes in win7 mode. I guess it should crash on real Windows-7 too then, mysterious....
I'll test app on windows7 soon. Should I test the last patch with the first one ?
best regards,
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #13 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to patryk from comment #12)
I'll test app on windows7 soon. Should I test the last patch with the first one ?
I`m not sure what you mean exactly. You already tested the app in wine with win7 set as version, right? Do you now mean you going to test the app on real Windows7? Then obviously applying patch makes no sense, but maybe I misunderstand you
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #14 from patryk@kowalczyk.ws ---
... You already tested the app in wine with win7 set as version, right?
Yes, Right, win7, 8 and 10 set as version.
I have not tested yet the "small test for GetPointerType" on wine. How should I test it ?
https://bugs.winehq.org/show_bug.cgi?id=45765
--- Comment #15 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 62333 --> https://bugs.winehq.org/attachment.cgi?id=62333 stub and test in one patch
I have not tested yet the "small test for GetPointerType" on wine. How should I test it ?
There is no need to test it, i already tested it on testbot
https://bugs.winehq.org/show_bug.cgi?id=45765
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/user32-GetPointe | |rType Status|UNCONFIRMED |STAGED CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=45765
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |34408796b9521c965c6d81a96fa | |5174aade4addb Resolution|--- |FIXED
--- Comment #16 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=34408796b9521c965c6d81a96...
https://bugs.winehq.org/show_bug.cgi?id=45765
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.8.