-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] The program opens when the icons in the Start menu are rearranged #452
Comments
@anemomylos I thought it might be related to on the first try now i couldn't reproduce it maybe can you make a short video of the behavior e.g. with 'Apowersoft Free Screen Recorder'? Does this also occure in windows 10? |
Yes, sure, I will try to record the screen. |
Maybe it's because I didn't use the program in Windows 10. :) I only found the program and started using it when I started using Windows 11 because MS decided to remove the "Desktop" |
systemtraymenu.mp4 |
I've noticed that changing the virtual desktop makes it possible to reproduce the above behavior without having to reboot Windows. |
tested in win 10 & win 11, can still not reproduce .... |
Let me know if you want to create a test version that displays some debug message when the popup opens, indicating what kind of action caused it to open, so that I can test it on my system. |
I noticed that when i choose as hotkey to open the program the combination Ctrl+Alt+L, the bug does not occur. Btw, don't use this combination since is the default Windows 11 combination for live captions. If I set the default hotkey (Ctrl+Win) the program opens every time I change the virtual desktop of Windows using the default Windows combination (Ctrl+Win+Left/Right arrow). When the hotkey field is cleared, the behavior is as I initially described. Most likely the code to be reviewed is the one that handles the hotkey. |
Thanks, thats a great hint! so workaround for now is to change hotkey to fix this case! this is weird because we just register the hotkey, we don't do anything special with this hotkey. I won't be there at the weekend, but I'm considering writing a small test program next week that will show the error. For me it is just buggy that after registering the hotkey we are triggered even though the hotkey is not pressed in the situation. We've been using the Ctrl + LWin hotkey for a while and haven't seemed to have any side effects so far. Maybe there's nothing we can do about it except changing the hotkey default. but we'll see again next week |
Can you point me to the code that handles the hotkey setting and the code that is executed once the hotkey is activated? I did a quick search to find them but with no luck. |
Hey, yes sure this is in RegisterHotKeys,cs
here is also the callstack when pressing the hotkey
|
@anemomylos |
The SystemTrayMenu window opens, as when you left-click its icon in the systray.
Note that this happens only once per Windows session. (not true, read this: #452 (comment))
I attach screenshots with the program configuration in case they may be helpful.
The text was updated successfully, but these errors were encountered: