[Bug 48419] New: user32-rawinput-keyboard: can't use other programs normally while a DirectX11 game is running (virtual desktop mode)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 4 17:19:32 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48419

            Bug ID: 48419
           Summary: user32-rawinput-keyboard: can't use other programs
                    normally while a DirectX11 game is running (virtual
                    desktop mode)
           Product: Wine-staging
           Version: 5.0-rc3
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: kolAflash at kolahilft.de
                CC: leslie_alistair at hotmail.com, z.figura12 at gmail.com
      Distribution: ---

When user32-rawinput-keyboard is being used, it's problematic to send keys to
other X11 windows while a game is running.

In detail:
1. configure "virtual desktop" mode via winecfg
2. Start a game in Wine
3. alt-tab to another X11 window (e.g. Firefox)
4. type something (e.g. enter a url in Firefox)
When typing in Firefox, the keys also get send into the game. E.g. if "g" is
being pressed in Firefox, the action which is configured for "g" in the game
will also be triggered.

So when looking up something in Firefox, it will probably trigger some stupid
actions in the game and your spaceship will explode or whatever...

Workaround:
Use wine-staging without applying user32-rawinput-keyboard and without
winex11-key_translation (which is depending on user32-rawinput-keyboard).
./patches/patchinstall.sh DESTDIR=../wine-5.0-rc4 --all -W
user32-rawinput-keyboard -W winex11-key_translation


Tested Wine version: staging-5.0-rc4
Didn't test it, but this should also apply to wine-staging-5.0-rc3.

Tested game: Elite Dangerous (Fullscreen mode) on DXVK-1.5
(probably only affecting DirectX11 applications)

I know, this isn't a lot of technical information.
If the problem isn't immediately clear, don't hesitate to ask me for more
details!

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list