BetterDiscordPlugins icon indicating copy to clipboard operation
BetterDiscordPlugins copied to clipboard

[BUG] InAppNotifications broken with mouse function buttons

Open tort-oise opened this issue 3 years ago • 1 comments

Describe the Bug When getting a notification with InAppNotifications, clicking on it will redirect me to the channel, however, when I press the button on my mouse to go back to the previous channel, it instead sends me to the channel I was in 2 channels ago.

To Reproduce Step 0: Have buttons on your mouse that allows for easy navigation. Step 1: Get an in-app notification, click it. Step 2: Press the button on your mouse to go back. Step 3: You'll be taken to the channel that you were in 2 channels ago.

Expected Behavior In steps: Step 1: Get an in-app notification, click it. Step 2: Press the button on your mouse to go back. Step 3: Be taken to the channel that you were in before you clicked the notification.

Screenshots I uploaded an demonstration to Streamable. I click my mouse button at exactly 12 seconds in.

Discord Version Stable, but is broken on PTB as well. Not sure about Canary.

Additional Context I use Windows, and I also use mouse navigation a lot, and having this issue throws me off 90% of the time. A fix would be nice.

tort-oise avatar Dec 14 '21 15:12 tort-oise

Oh, and to note, I tested this on Linux as well. Same issue.

tort-oise avatar Dec 14 '21 15:12 tort-oise