Skycoder42 / QHotkey

A global shortcut/hotkey for Desktop Qt-Applications
BSD 3-Clause "New" or "Revised" License
574 stars 164 forks source link

Can't map media buttons (like "Launch mail" button) to global shortcuts #81

Open MurzNN opened 1 year ago

MurzNN commented 1 year ago

I have a multimedia keyboard with separate keys, that are recognized in Crow's key sequence input as: "Launch (1)", "Home page", "Launch mail", and I even can accept the shortcut.

But as result, all of them are not working. Other combinations like default "Ctrl+Alt+C" work well.

Also, when I apply the changes, I see an error in console output:

QHotkey: Unable to map shortcut to native keys. Key: Qt::Key_HomePage Modifiers: QFlags<Qt::KeyboardModifier>(NoModifier)

OS - Ubuntu Linux 22.04, application - Crow Translate.

Is it possible to fix?

Initial issue is here: https://github.com/crow-translate/crow-translate/issues/511