xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Closed 7 days ago

#2816 closed defect (needinfo)

keyboard keystrokes are send to wrong (non wine) window

Reported by: kolorafa Owned by: kolorafa
Priority: major Milestone: 4.1
Component: server Version: 3.0.x
Keywords: Cc:

Description

It's more like

xpra-3.0.7 - works fine
xpra-3.0.9 - broken - keyboard is not send to wine app, while are sent to wrong window

Observed behavior: When having multiple windows, for example having native xterm and app running in wine, if you click on xterm you can type there, if you click on wine app, it still send keystrokes into xterm.

OS: Arch

(App run in wine: Enova ERP (require dotnet462))

Change History (5)

comment:1 Changed 3 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to kolorafa

Please see #2698:

  • does it work with v4?
  • with v3, try XPRA_FORCE_XSETINPUTFOCUS=1

comment:2 Changed 3 weeks ago by kolorafa

I did try
xpra start --env=XPRA_FORCE_XSETINPUTFOCUS=1
xpra start --env=XPRA_FORCE_XSETINPUTFOCUS=0
xpra start --env=XPRA_FORCE_XSETINPUTFOCUS=
but that didn't have any effect

Didn't try v4, going to do that now (installing xpra from xpra-svn AUR)

comment:3 Changed 3 weeks ago by kolorafa

Where can I get sources for 4.0 as AUR failed:

adding revision info to Utilities.js
Traceback (most recent call last):
  File "setup.py", line 2308, in <module>
    main()
  File "setup.py", line 2304, in main
    setup(**setup_options)
  File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.8/distutils/command/install.py", line 557, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "setup.py", line 1507, in run
    install_html5(os.path.join(self.install_dir, "%s/www" % share_xpra))
  File "setup.py", line 1018, in install_html5
    do_install_html5(install_dir, minifier, html5_gzip_ENABLED, html5_brotli_ENABLED, verbose_ENABLED)
  File "/home/kolorafa/.cache/pacaur/xpra-svn/src/xpra/setup_html5.py", line 122, in install_html5
    'REVISION : "%i",' % REVISION)
TypeError: %i format: a number is required, not str

Last edited 3 weeks ago by kolorafa (previous) (diff)

comment:4 Changed 2 weeks ago by Antoine Martin

Where can I get sources for 4.0 as AUR failed

Google: "xpra source"

TypeError: %i format: a number is required, not str

The AUR package has been broken for months, they just don't care.
You may be able to workaround this by installing --without-html5.

comment:5 Changed 7 days ago by Antoine Martin

Resolution: needinfo
Status: newclosed

FWIW: the wine applications that I've tried worked out of the box with 4.0

Note: See TracTickets for help on using tickets.