https://bugs.winehq.org/show_bug.cgi?id=48135
--- Comment #2 from rotogluon@gmail.com --- Hi,
Thanks for your answer.
I dug into this a bit deeper and I actually found out something really weird which tends me to think it's not a wine related bug.
I edited the link from the Ubuntu "start menu" to see what file it was using.
I cat'ed that file :
% cat /home/hehe2/.local/share/applications/wine/Programs/Winamax/Winamax\ Poker.desktop [Desktop Entry] Name=Winamax Poker Exec=env WINEPREFIX="/home/hehe2/.wine" wine C:\\windows\\command\\start.exe /Unix /home/hehe2/.wine/dosdevices/c:/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Winamax/Winamax\ Poker.lnk Type=Application StartupNotify=true Comment=Winamax Poker Path=/home/hehe2/.wine/dosdevices/c:/users/hehe2/Winamax StartupWMClass=wlauncher.exe
From there, I can see that the link (which was automatically created when I
installed Winamax -- and yes btw, from the website you mentioned) is using a windows start menu link file.
Well, that file is "scrambled" a bit when I string it :
% strings '/home/hehe2/.wine/dosdevices/c:/ProgramData/Microsoft/Windows/Start Menu/Programs/Winamax/Winamax Poker.lnk' fD(` home fD(`gDa` hehe2 .wine drive_c users hehe2 Winamax wlauncher.exe C:\users\hehe2\Winamax\wlauncher.exe
So, I thought I just could go there and "wine" the binary in the terminal to see the output :
% cd ~/.wine/drive_c/users/hehe2/Winamax % wine wlauncher.exe 0271:fixme:font:freetype_SelectFont Untranslated charset 255 0271:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"! 0271:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot 0271:fixme:toolhelp:Heap32ListFirst : stub 0271:fixme:imm:ImmReleaseContext (00180158, 00F4DF70): stub
Nothing happens (not even the popup window I got when I'm using the Ubuntu link)
Then, if I try to start directly the "Winamax Poker.exe" binary :
[2019-11-20 01:08:57] hehe2@hehe2:/home/hehe2/.wine/drive_c/users/hehe2/Winamax% wine Winamax\ Poker/Winamax\ Poker.exe 0281:fixme:sync:SetWaitableTimerEx (00000154, 032DFE70, 0, 00000000, 00000000, 00000000, 500) semi-stub 027a:fixme:nls:get_dummy_preferred_ui_language (0x8 0x32dbf0 (nil) 0x32dbf4) returning a dummy value (current locale) 027a:fixme:nls:get_dummy_preferred_ui_language (0x8 0x32dbf0 0x1fc3d0 0x32dbf4) returning a dummy value (current locale) 027a:fixme:secur32:LsaGetLogonSessionData 0x32e5a8 0x32e5b8 stub 027a:fixme:pulse:AudioSessionControl_RegisterAudioSessionNotification (0x1f3780)->(0x1fbf80) - stub 027a:fixme:pulse:AudioSessionControl_UnregisterAudioSessionNotification (0x1f3780)->(0x1fbf80) - stub [2019-11-20 01:10:34] hehe2@hehe2:/home/hehe2/.wine/drive_c/users/hehe2/Winamax% 0287:fixme:font:freetype_SelectFont Untranslated charset 255 0287:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"! 0287:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot 0287:fixme:toolhelp:Heap32ListFirst : stub 0287:fixme:imm:ImmReleaseContext (001C0164, 00F4BE38): stub 0296:fixme:sync:SetWaitableTimerEx (0000015C, 032DFE70, 0, 00000000, 00000000, 00000000, 500) semi-stub 028f:fixme:nls:get_dummy_preferred_ui_language (0x8 0x32dbf0 (nil) 0x32dbf4) returning a dummy value (current locale) 028f:fixme:nls:get_dummy_preferred_ui_language (0x8 0x32dbf0 0x1dd358 0x32dbf4) returning a dummy value (current locale) 028f:fixme:secur32:LsaGetLogonSessionData 0x32e5a8 0x32e5b8 stub 028f:fixme:pulse:AudioSessionControl_RegisterAudioSessionNotification (0x21b228)->(0x21afe8) - stub 028f:fixme:pulse:AudioSessionControl_UnregisterAudioSessionNotification (0x21b228)->(0x21afe8) - stub 028f:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733 028f:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733 028f:fixme:imm:ImmReleaseContext (000501A6, 08672138): stub 02a2:fixme:font:freetype_SelectFont Untranslated charset 255 02a2:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"! 02a2:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot 02a2:fixme:toolhelp:Heap32ListFirst : stub 02a2:fixme:imm:ImmReleaseContext (000A0126, 00F49EB8): stub
And then the login window appears and it's working.
So, I'm mind boggled because I'm not sure it's wine related any more...
I don't understand why I don't get the same behaviour using the Ubuntu start menu link and the "manual" launch and I especially don't understand why it was working for months and suddenly it's not any more.
The fact it's still working using the other ".exe" file is a good thing because it's not a blocker for me, it's just cumbersome and I'm pretty sure it eventually will be fixed in an upcoming "Ubuntu update" but I really don't know what component has a regression there...