-
Notifications
You must be signed in to change notification settings - Fork 14
Ctrl + Alt + Delete breaks shortcut handling #31
Comments
Can you please give an exact reproduction? I tried opening the Task Manager and immediately creating a new virtual desktop, and SylphyHornEx still recognizes that. Have you tried running the app as Administrator? Task Manager is a protected process, so it will block any hotkeys from being recognized if you have focused its window. |
As I said "switch desktop is not working in the mentioned case". Not creating a new. :) It is on the screenshots what is bound to switch desktop right/left. (I guess creating new virtual desktop with Win+Ctrl+D works cuz it is the shortcut for Windows by default as well.) Unfortunately I couldn't reproduce other triggers for the bug (except for opening Task Manager) since they were too sporadic. But what hit me in the case of opening Task Manager is that even after you close it, SylphyHornEx needs to be opened before working again(and this is the case with other causes of the bug too). ( No, I don't run anything as admin in the scenario. ) Reproduction: Workaround: Open SylphyHornEx options and close it. Actually it stops recognizing shortcuts even after Ctrl+Alt+Del(ete) (no need to open Task Manager). Even more complex situations and workarounds arised by playing around with opening or not opening TM from the Ctrl+Alt+Del menu: |
So the problem is actually the Ctrl + Alt + Delete screen. Opening the Task Manager by itself (via taskbar, or Ctrl + Shift + Escape) doesn't have any problem, but I could reliably reproduce the issue in the first case. Thanks for the report. The shortcut handling code is untouched from the original project that this was forked from, so I'm not sure what's happening. If I have time in the future I will look into it, but unfortunately I can't give an ETA. |
I am happy if I could help. :d Thanks. |
If you fix the issue in code and send a PR I will be more than happy to merge it. |
Naaah, I am noob in C#/PS and win... XD but if I cease to hate these and have some time I may look into it. |
Which files are associated with shortcut handling code? |
Not completely sure without looking into it, but look at the files here. There's a lot of Key and Shortcut files. |
I could reproduce a bug that, in a few cases, makes SylphyHornEx not react to keyboard shortcuts, for example in the case of after opening Task Manager. At these occasions as a workaround, one has to:
Now the app is responsive to the shortcuts again( and if you check the task manager, the app has a few tens of MB-s more memory footprint).
My configurations(switch desktop is not working in the mentioned case):
The text was updated successfully, but these errors were encountered: