Skip to content
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

app stops updating when you press the alt key (windows) #1849

Open
q-depot opened this issue May 24, 2017 · 4 comments
Open

app stops updating when you press the alt key (windows) #1849

q-depot opened this issue May 24, 2017 · 4 comments
Milestone

Comments

@q-depot
Copy link

q-depot commented May 24, 2017

Hi,

I've already reported this bug on the forum:
http://discourse.libcinder.org/t/alt-key-on-windows-pause-the-app/696/3

@richardeakin
Copy link
Collaborator

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?

@luksladky
Copy link
Contributor

I've pushed a pull request fixing this. We need to be handling command SC_KEYMENU in WM_SYSCOMMAND message.

@brucelane
Copy link

same for me, also with F10 key!

@paulhoux paulhoux added this to the 0.9.3 milestone Apr 10, 2020
@luksladky
Copy link
Contributor

Should be fixed in this commit: adcd158

Let's close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants