Cinder
Cinder copied to clipboard
app stops updating when you press the alt key (windows)
Hi,
I've already reported this bug on the forum: http://discourse.libcinder.org/t/alt-key-on-windows-pause-the-app/696/3
I did some investigating into this and it appears that a hidden menu is taking focus of the messaging in our WndProc
. Using Spy++, you can see the messages WM_INITMENU
, WM_MENUSELECT
, and then WM_ENTERIDLE
repeatedly until you do something that I presume cancels the menu. It seems like we should be able to solve this by either programatically cancelling the menu, or somehow disable that menu in the first place. I don't yet know how to do either.
There are a few things we could try in this msdn doc to destroy the menu, but there might be a cleaner solution, perhaps with some window style?
I've pushed a pull request fixing this. We need to be handling command SC_KEYMENU in WM_SYSCOMMAND message.
same for me, also with F10 key!
Should be fixed in this commit: https://github.com/cinder/Cinder/commit/adcd158eb80b76876ecff66669c44e5fba9543dd
Let's close the issue.