protonscr

Non-Steam game picker not escaping spaces properly

steamclosed
ValveSoftware/steam-for-linux#7219 · opened 2020-06-23 by p-mng · updated 2020-06-23 · 1 comments · github
Pp-mng 2020-06-23 github

Your system information

  • Steam client version (build number or date): Jun 4 2020 (latest)
  • Distribution (e.g. Ubuntu): Arch Linux (up to date as of 2020-06-23)
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

When picking a non-steam game file (.desktop or .exe, does not matter) that is located in a directory whose path contains one ore more spaces, the "target" and "start in" paths are cut off right before the space. My guess is that those space characters are somehow not escaped properly which leads to this weird behaviour.

Example:

Space in the full path:

Folder with Space

As you can see, the "target" (second text box) and "start in" (third text box) strings are incomplete.

Game with Space

No spaces at all:

Folder with no Space

As you can see, everything works like it should:

Game with no Space

Steps for reproducing this issue:

  1. Add a non-steam game like described above
  2. Enjoy
Kkisak-valve maintainer 2020-06-23 github

Hello @patrickm32, this issue is already being tracked at #5220. Closing as a duplicate.

Nothing extracted yet.