xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 2 years ago

Closed 2 years ago

Last modified 16 months ago

#2698 closed defect (worksforme)

wine console does not get keyboard events

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 4.1
Component: core Version: 3.0.x
Keywords: Cc:


Change History (4)

comment:1 Changed 2 years ago by Mike Bowie

I believe I came across this myself. Running wine <app> directly under xpra start appears to be totally functional, and responds to mouse input; however no keypress events are acknowledged by the wine application.

I tried instead launching the wine process by hand under an xterm instance via xpra start --start-child=xterm , and found that the keystrokes intended for the wine application in fact reflect in the xterm window. From this behavior, I assumed the issue was focus based.

I found that by running under start-desktop with a window manager, the process then begins to behave as expected; eg xpra start-desktop --start=blackbox --start-child=wine winecfg

Hopefully this provides some assistance in tracking down the root cause of this behavior, or at very least, a viable workaround for others.

PS. Nice to see a Trac instance still going strong! \m/

comment:2 Changed 2 years ago by Antoine Martin

Priority: majorcritical
Status: newassigned

Workaround for wine apps in r26291: start the server with:

xpra start --env=XPRA_FORCE_XSETINPUTFOCUS=1 ...

Maybe we can change the default to always call XSetInputFocus rather than checking the "input_field"? (or maybe it isn't set properly for wine apps?)

comment:3 Changed 2 years ago by Antoine Martin

Resolution: worksforme
Status: assignedclosed

r26312 changes the default to always call XSetInputFocus for 4.1

If this causes problems, we can revert it.

comment:4 Changed 16 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2698

Note: See TracTickets for help on using tickets.