ModernDeck icon indicating copy to clipboard operation
ModernDeck copied to clipboard

Viewing a video breaks media keys until app is restarted

Open xephero opened this issue 3 years ago • 2 comments

Once a video is played within the app (using the normal

However, once that first video is loaded, every other open application (music player, browser tabs, etc) will no longer receive media key inputs. It seems like the program is capturing all media keypresses, only doing anything with them when a video is open, and if there isn't one, it will simply drop them completely instead of letting them pass through. After closing moderndeck, media keys work in everything else again.

I have a workaround right now which is to add --disable-features=HardwareMediaKeyHandling as a command line argument (thanks to https://github.com/electron/electron/issues/21731) but it seems like this isn't desired behavior in the first place (and loses me the perk of media-key-controlled videos in moderndeck) so I figured I would post an issue here to record it.

xephero avatar May 16 '22 02:05 xephero

Thanks for opening this issue, can I ask what OS are you using?

dangeredwolf avatar May 17 '22 18:05 dangeredwolf

Sure. Just for completion's sake:

OS: Windows 11 Pro, Version 21H2, Build 22000.675 ModernDeck: 9.4.4 Chrome (the other thing I was trying to control with media keys): 101.0.4951.67 Keyboard: Corsair K95 RGB Platinum iCUE (keyboard driver/software): 4.23.137

Let me know if there's any other information I can offer.

xephero avatar May 17 '22 19:05 xephero