ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
643 stars 74 forks source link

When copy text from Source Engine game and paste into Chromium based app, that app hangs #2636

Open xDShot opened 6 years ago

xDShot commented 6 years ago

Please describe your issue in as much detail as possible:

When I copy any text (from chat area or console) and paste it into chromium (webkit?) based app, that app hangs with kown possibility to close it is to kill it's process. The game continues to work.

Known Source engine games affected I tested on Linux:

Known chromium based apps affected (i.e. hangs when paste text):

Steps for reproducing this issue:

  1. Launch any Source engine game officially available on Linux and any chromium based app
  2. Select any selectable text in the game (Chat area, Console, GUI widget with selectable text) and copy it (Ctrl+C)
  3. Paste it in any typable area in the app (Ctrl+V)

Expected: text pastes normally into app

Reality: the app stops responding totally

Current Workaround: I copy text, paste it in any other app like simple text editor, copy it again and paste it into the app.

OS: Arch Linux x64, Steam is installed through repo package.

kisak-valve commented 6 years ago

Hello @xDShot, this issue should also be brought to the attention of the chromium devs.

chinese-soup commented 3 years ago

This is a specific SDL version bug, if you replace (or symlink) the bundled libSDL version (e.g. steamapps/common/Portal/bin/libSDL*) with your system-wide one (e.g. /usr/lib32/libSDL*) this problem will go away.

This happens on GoldSrc as well, see here for more info about replacing the SDL lib. https://github.com/ValveSoftware/halflife/issues/1686