dead8309 / Kizzy

Discord Rich Presence for Android. Made with jetpack compose and material3
https://kizzy.vercel.app
GNU General Public License v3.0
619 stars 67 forks source link

Experimental RPC | Phantom Activity Status #254

Open ThatOneUnoriginal opened 8 months ago

ThatOneUnoriginal commented 8 months ago

Describe the bug With the Experimental RPC Enabled, the RPC status doesn't end when the application being interacted with is closed creating a "phantom" activity status (app is closed but status says otherwise.) This can be fixed by disabling and re-enabling the Experimental PRC option.

To Reproduce Steps to reproduce the behavior:

  1. Enable the Experimental RPC
  2. Either Open an Enabled App (Activating the App RPC) or Play Media (Activating the Media RPC)
  3. Close the Application (You can also Force Stop but this changes nothing)
  4. Check the Discord RPC Status
  5. (Optional) Keep track of the "elapsed" time, open a new app or play (a different) media and then check back on the RPC Status

Expected behavior When the applicated is closed, the RPC Status should deactivate/end.

Screenshots YouTube Video; Left side shows the activity on my phone whist the right side shows my profile information (including activity status) https://youtu.be/vcCJeKy1Qoc

Please complete the following information:

dead8309 commented 8 months ago

It takes 45sec to 1min for the status to disappear after the rpc has closed

ThatOneUnoriginal commented 8 months ago

The RPC continues to persist for over 1 minute after the application in question has been closed. Below is the RPC indicating that "X" is opened despite it being closed soon after the RPC first appeared. I then ~2 minutes went into settings and ensured it was closed by Force stopping it.

The recording doesn't show such since I wanted to put it together quickly. image image

dead8309 commented 8 months ago

Try to refresh the site

ThatOneUnoriginal commented 8 months ago

By the "site" you're referring to Discord? If so, refreshing the Discord app did not result in the RPC going away. Prior to Refreshing Desktop App (I closed the app at around ~2 minutes 10 seconds. Screenshot 2024-02-20 135514 After Refreshing Desktop App Screenshot 2024-02-20 135535