protonscr

CollectionStore changes are no longer immediately propagated to the UI

steamclosed Steam clientDistro Family: SteamOS
ValveSoftware/steam-for-linux#9943 · opened 2023-08-03 by FrogTheFrog · updated 2024-07-18 · 1 comments · github
FFrogTheFrog 2023-08-03 github

Your system information

  • Steam client version (build number or date): 1690583737 | Fri, Jul 28 21:44 UTC +02:00
  • Distribution (e.g. Ubuntu): SteamDeck
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD

Please describe your issue in as much detail as possible:

It seems that since the last update the changes made to the window.collectionStore are no longer propagated via observables until a forced refresh of some sorts.

This results in various bugs, such as:

  • Collection tab counter not being updated until you navigate to the said tab.
  • "Favorites" tab not visible when you have no favorites and add a first favorite app. You need to wait for some sort of UI/collectionStore refresh for it to appear.
  • Apps are no longer hidden until UI/collectionStore is refreshed.

Steps for reproducing this issue:

  1. Select an app and try to hide it.
  2. Observe it not being hidden.
  3. Trigger an UI/collectionStore refresh by restarting Steam client OR starting the app (it will be hidden afterwards).

Notes:

It seems that calling window.collectionStore.WarmCache() forces the necessary updates for the collections. Maybe the automatic cache invalidation was removed by accident in the last update.

FFrogTheFrog 2024-07-18 github

No longer an issue in the latest beta version.

Nothing extracted yet.