Project

General

Profile

Actions

Emulator Issues #13665

open

Discord creates second Playing banner in Activity tab when Dolphin is a Registered Game

Added by Dentomologist about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?
Any

What's the problem? Describe what went wrong.
When Discord considers Dolphin to be a registered game, following the reproduction steps will show two Playing banners in your Discord Activity tab instead of one. One banner will show the Rich Presence (e.g. "Dolphin Emulator SB4E01" with the Super Mario Galaxy 2 cover art), while the second will show the basic presence ("Dolphin").

On Windows, Discord auto-detects Dolphin.exe as a registered game, so all non-debug versions will be affected by default. As best I can tell, Discord on other platforms doesn't auto-detect Dolphin, so to observe this bug you'll have to add Dolphin manually.

What steps will reproduce the problem?

  1. In Dolphin, enable Config->General->"Show Current Game on Discord".
  2. Start any game.
  3. Switch to Discord
    3.5) If you're not on Windows (or you're running a debug build), go to User Settings->Registered Games, click the Add It link, then select Dolphin and click Add Game.
  4. Open your short profile by clicking your name in either chat or the member list. This short profile does not exhibit the bug.
  5. From the short profile, open your full profile by clicking on your profile picture.
  6. Select the Activity tab.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Yes, 2409-270

Is the issue present in the latest release? For future reference, please also write down the version number of the latest release.
Yes, 2409.

If the issue isn't present in the latest release, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

5.0-8232, the version that introduced Rich Presence. Note that since the Windows auto-detection is based solely on the file name, the basic presence will be displayed even for extremely old builds (I verified it with 4.0).

What are your PC specifications? (CPU, GPU, Operating System, more)
I've reproduced this by default on Windows 10 1903 and Windows 11 24H2.

A user on Arch Linux tested this for me and had to add Dolphin to Discord's Registered Games list manually to trigger the bug. I had to do likewise on macOS 11.7.

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots, configuration files, savefiles, savestates)
Discord automatically detects when Dolphin.exe is run on Windows and shows the basic presence, but not the executables on other platforms. This means that when Rich Presence is disabled on Windows Discord will still show Dolphin is open (but not any open games), while on other platforms Discord won't show Dolphin at all (unless you add it manually).

The root problem is that setting the Rich Presence gets treated as a separate application instead of updating the basic presence for the Registered Game.

I was tempted to assume this was a Discord bug, but I scrolled through the member list of a fairly large server and only Dolphin had this behavior, so we must be doing something wrong.


Files

No data to display

Actions

Also available in: Atom PDF