protonscr

very long launch options not executed properly

steamopen Steam client
ValveSoftware/steam-for-linux#9622 · opened 2023-06-16 by deergoduc · updated 2023-06-16 · 0 comments · github
Ddeergoduc 2023-06-16 github

Your system information

  • Steam client version (build number or date): 1686779606
  • Distribution (e.g. Ubuntu): Arch
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

When editing properties of a shortcut, the 'Launch options' field seems to have a limit of 4095 characters. Adding more characters is possible, but when closing and reopening the properties window, they disappear. They are still saved in shortcuts.vdf though. Having so many characters also causes severe performance issues, taking >1s to add or delete a single character.

However, actually launching the shortcut doesn't execute all the launch options. The length of the actual command executed is also 4095 characters, but that also includes the actual command, so a part of the launch options is cut off.

Upon further inspection, this is not exclusive to non-steam shortcuts, but also happens with games.

Configured launch options

Actual command executed

Steps for reproducing this issue:

  1. Edit properties of a shortcut/game
  2. Change launch options to be 4095 or more characters
  3. Launch shortcut/game

Nothing extracted yet.