Almighty-Alpaca / JetBrains-Discord-Integration

Discord rich presence integration for all JetBrains IDEs
https://plugins.jetbrains.com/plugin/10233-discord-integration
Apache License 2.0
586 stars 63 forks source link

Connection issues/Force reconnect not working #142

Open KygekDev opened 3 years ago

KygekDev commented 3 years ago

Issue:

Discord Integration plugin usually won't reconnect and reload Discord Rich Presence if there is any interruption (e.g. Offline status, Power save mode, etc) even with the Force reconnect option.

Steps to Reproduce:

  1. Open IntelliJ IDEA Ultimate or any other JetBrains IDE
  2. Enable Discord Integration plugin
  3. Set status to Invisible in Discord
  4. Set status to Online/Idle/DnD in Discord
  5. Press Tools > Discord > Force reconnect in IDE

Expectation:

The Discord Rich Presence should be reloaded and appear normally.

IDE Information:

Plugin Version: 1.5.0 IDE Name: IntelliJ IDEA Ultimate IDE Version: 2020.3 (Build #IU-203.5981.155)

Discord Information:

Type: Application Version: Stable 72814 (Build ef77e5c)

Device Information:

OS: Windows 10 Pro 64-bit Version: 20H2 (Build 19042.630)

tuckerritti commented 3 years ago

I'm having this issue aswell.

Almighty-Alpaca commented 3 years ago

I'm not sure what causes these connection issues, though I suspect it's somewhere in the discord-rpc library. The button definitely does what it says, it closes the RPC connection and creates a new one. The plugin will move to the newer GameSDK soon which will hopefully fix this once and for all. Progress for that can be tracked here #130.