Skycoder42 / QHotkey

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

multiple registered-hotkeys-with-the-same-character are activated at the same time with one hotkey #31

Open wis opened 4 years ago

wis commented 4 years ago

Hello, thank you so much for creating this library I loved using it to develop an open source program that can register up to to a hundred hotkeys and more, I found that when one of multiple registered hotkeys with the same character is pressed all of them fire/activate.

also, modifierleess/character-only hotkeys cause the same issue. I'd love to keep using this awesome library to keep developing my program, which I'd will release on all platforms, because I think it could help popularize a new way (which is RSI and hacker friendly) to interact with computers, with the rise of high DPI displays. so please, could you help make this issue not block that goal?

I'm developing and testing only on X11 for now, I uSe ArCh LiNuX BtW, (too) :D

Skycoder42 commented 4 years ago

Could you give some example of key sequences that conflict (i.e. both fire)?

wis commented 4 years ago

sure, e shift+e ctrl+e ctrl+shift+e alt+e e could be any letter when one of them is pressed all fire. take a look here to see how I'm creating and later registering them with arrays and loops.