j0nnyf1ve
2011-Apr-05 02:00 UTC
[Wine] Unable to use certain keys after setting focus to desktop
I am having a weird problem. When playing World of Warcraft and now Rift, I have a keyboard shortcut to set focus to desktop. When I return to the game from the desktop, I am unable to use the alpha keys on my keyboard. I am able to use all other keys, but the "qwerty" are not responsive. At first I thought this was limited to WoW, but I encountered the same problem this weekend with Rift. Running wine 1.3.17, Ubuntu 10.10 64-bit. This was previously working for over a year. I do not recall any upgrades or the like that broke this. Output from the console: Code: martinezlc99 at martinezlc99:~$ WINEPREFIX="/media/Games/.wine-rift" padsp wine "/media/Games/RIFT Game/riftpatchlive.exe" fixme:system:SetProcessDPIAware stub! fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:ole:CoCreateInstance no instance created for interface {ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf} of class {56fdf344-fd6d-11d0-958a-006097c9a090}, hres is 0x80004002 fixme:imm:NotifyIME IMC_SETCANDIDATEPOS fixme:imm:ImmReleaseContext (0x2002a, 0x17df60): stub fixme:win:FlashWindowEx 0x32e844 fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:imm:NotifyIME IMC_SETCANDIDATEPOS fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:imm:NotifyIME IMC_SETCANDIDATEPOS fixme:imm:NotifyIME IMC_SETCANDIDATEPOS fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ReleaseDate" in Game Definition File not yet supported fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Genres" in Game Definition File not yet supported fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Version" in Game Definition File not yet supported fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"WindowsSystemPerformanceRating" in Game Definition File not yet supported fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Developers" in Game Definition File not yet supported fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"Publishers" in Game Definition File not yet supported fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"GameExecutables" in Game Definition File not yet supported fixme:gameux:GAMEUX_ProcessGameDefinitionElement entry L"ExtendedProperties" in Game Definition File not yet supported fixme:gameux:GameExplorerImpl_VerifyAccess (0x136600, L"Z:\\media\\Games\\RIFT Game\\rift.exe", 0x33f9e8) fixme:win:EnumDisplayDevicesW ((null),0,0x33f49c,0x00000000), stub! fixme:ole:CoCreateInstance no instance created for interface {ea1afb91-9e28-4b86-90e9-9e9f8a5eefaf} of class {56fdf344-fd6d-11d0-958a-006097c9a090}, hres is 0x80004002 fixme:win:EnumDisplayDevicesW ((null),0,0x33eecc,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33f21c,0x00000000), stub! fixme:dxgi:dxgi_device_init Ignoring adapter type. fixme:win:EnumDisplayDevicesW ((null),0,0x33f1b0,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x17da30,0x17d990): stub fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:win:EnumDisplayDevicesW ((null),0,0x33eed0,0x00000000), stub! martinezlc99 at martinezlc99:~$ err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x189838,0x189738): stub fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet. fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub err:d3d_texture:wined3d_texture_apply_state_changes >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexParameteri(GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso) @ texture.c / 391 err:d3d_texture:wined3d_texture_apply_state_changes >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexParameteri(GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso) @ texture.c / 391 err:d3d_texture:wined3d_texture_apply_state_changes >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexParameteri(GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso) @ texture.c / 391 err:d3d_texture:wined3d_texture_apply_state_changes >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glTexParameteri(GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso) @ texture.c / 391 fixme:process:GetLogicalProcessorInformation ((nil),0x33e49c): stub fixme:win:GetRawInputDeviceList (pRawInputDeviceList=(nil), puiNumDevices=0x33e4fc, cbSize=8) stub! Any ideas?
vitamin
2011-Apr-05 13:39 UTC
[Wine] Re: Unable to use certain keys after setting focus to desktop
j0nnyf1ve wrote:> When I return to the game from the desktop, I am unable to use the alpha keys on my keyboard.Are you running those games in virtual desktop, window or full screen mode? Any key combination that are different from standard [alt]-[tab] & Co will break most windows games in regards to loosing focus.
j0nnyf1ve
2011-Apr-06 01:05 UTC
[Wine] Re: Unable to use certain keys after setting focus to desktop
vitamin wrote:> > j0nnyf1ve wrote: > > When I return to the game from the desktop, I am unable to use the alpha keys on my keyboard. > > Are you running those games in virtual desktop, window or full screen mode? > > Any key combination that are different from standard [alt]-[tab] & Co will break most windows games in regards to loosing focus.Thank you for the response. I guess I am not understanding what you mean. For whatever reason, the alt-tab combo does not work in WoW or Rift. I do not have anything else bound to this shortcut in Gnome. Consequently, I created a new keyboard shortcut to close all windows and go to the desktop - Alt F1. So I hit this shortcut and then surf the web, update mp3s, etc. When I return to the game, certain keys do not work....but others do. I am clueless as to why this is happening. To be clear, this was previously working before. I created a new wine prefix for Rift and the problem still persists. Any ideas as to what I could check? I am have tried running the games in fullscreen and windowed and the problem still exists. Thanks for the help.
vitamin
2011-Apr-07 13:27 UTC
[Wine] Re: Unable to use certain keys after setting focus to desktop
j0nnyf1ve wrote:> For whatever reason, the alt-tab combo does not work in WoW or Rift.This points that those games do something special when they loosing focus. To get around that use virtual desktop mode.