Skip to content

[Bug]: Problems that occur when using method addElectronSteamOverlay #57

@comko123

Description

@comko123

Bug Description

I'm really enjoying the library you made. Personally, I think it's a really well-made library.
However, I used Method A in main.ts to integrate with the Steam overlay, and the overlay integration seems to work really well. But in the parts where CSS animations are used, I felt like the code was stuttering and lagging. Also,

steamInstance.user.cancelAllTickets()
steamInstance.shutdown()
declarationStore.clear()
app.quit()
window.close()

These methods are used to terminate the application. Before using Method addElectronSteamOverlay, the Steam connection would disconnect properly when I used the above methods to close the application. However, after using Method addElectronSteamOverlay, there are occasional instances where the Steam connection remains active even when I execute the above methods while closing the app. I am currently using Electron, React, Framer-Motion, and Tailwind CSS on Win11. How can I solve this problem?

Steps to Reproduce

Frame drops (?)/lag occurring when using CSS animations in an environment using the addElectronSteamOverlay method.

An issue where the Steam process is not properly disconnected upon app termination in environments using the addElectronSteamOverlay function.

Expected Behavior

It works as expected, but the problem mentioned above occurred.

Actual Behavior

Frame drops (?)/lag occurring when using CSS animations in an environment using the addElectronSteamOverlay method.

An issue where the Steam process is not properly disconnected upon app termination in environments using the addElectronSteamOverlay function.

Code Sample

Affected API

Core API

Package Version

0.10.2

Operating System

Windows 11

Node.js Version

22.15.0

Environment

Electron

Error Logs

Checklist

  • I have searched existing issues to ensure this bug hasn't been reported
  • Steam client is running and I'm logged in
  • I have run npm run verify-sdk and it passes

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions