DiscordRPCVS icon indicating copy to clipboard operation
DiscordRPCVS copied to clipboard

Focusing on another window that's not the text editor causes RPC issues

Open Rekkonnect opened this issue 6 years ago • 1 comments

When, for instance, editing a .cs file within the text editor, this will include the information about the file and the language. However, if another window is focused, RPC will change to the simple "Developing" state.

This occurs when focusing on a window in VS that's not a text editor.

Rekkonnect avatar Jan 29 '19 15:01 Rekkonnect

This could be prevented by checking windowActivated.Type for the text editor.

https://github.com/Swan/DiscordRPCVS/blob/2618e5d51b671c9ef254469e4af76ba846cc5306/discord-rpc-vs/DiscordRPCVSPackage.cs#L139

FurkanKambay avatar Mar 23 '19 23:03 FurkanKambay