Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Viewing a video breaks media keys until app is restarted #289

Open
xephero opened this issue May 16, 2022 · 2 comments
Open

Viewing a video breaks media keys until app is restarted #289

xephero opened this issue May 16, 2022 · 2 comments
Assignees
Labels
bug electron-app Issues specific to the Electron version of ModernDeck

Comments

@xephero
Copy link

xephero commented May 16, 2022

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 electron/electron#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.

@dangeredwolf
Copy link
Owner

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

@dangeredwolf dangeredwolf self-assigned this May 17, 2022
@dangeredwolf dangeredwolf added bug electron-app Issues specific to the Electron version of ModernDeck labels May 17, 2022
@xephero
Copy link
Author

xephero commented May 17, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug electron-app Issues specific to the Electron version of ModernDeck
Projects
None yet
Development

No branches or pull requests

2 participants