From 81fbd0f83f11d5074bb945f0f6d7b6508e9d32d7 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 29 Dec 2022 23:46:47 -0500 Subject: Fix reloading UI on updates and restarting steam --- frontend/src/steamfixes/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 frontend/src/steamfixes/README.md (limited to 'frontend/src/steamfixes/README.md') diff --git a/frontend/src/steamfixes/README.md b/frontend/src/steamfixes/README.md new file mode 100644 index 00000000..97098889 --- /dev/null +++ b/frontend/src/steamfixes/README.md @@ -0,0 +1,13 @@ +## What's this? + +`steamfixes` contains various fixes and workaround for things Valve has broken that cause Decky issues. + +## Current fixes: + +- StartRestart() -> StartShutdown(false) override: + + StartRestart() breaks CEF debugging, StartShutdown(false) doesn't. We can safely replace StartRestart() with StartShutdown(false) as gamescope-session will automatically restart the steam client anyway if it shuts down, bypassing the broken restart codepath. Added 12/29/2022 + +- ExecuteSteamURL UI reload fix: + + Starting sometime in November 2022, Valve broke reloading the Steam UI pages via location.reload, as it won't properly start the UI. We can manually trigger UI startup if we detect no active input contexts by calling `SteamClient.URL.ExecuteSteamURL("steam://open/settings/")` Added 12/29/2022 -- cgit v1.2.3