I am writing custom keyboard switcher and found, that some applications hang with it. First I thought, that there is an endless loop in my app or something like this, but the found, that even sending a message with 3rd party tool can hang the app.
Examples of the apps hanging are Comsol Multyphysics 5.3a and Pinnacle Studio 20.
I read somewhere, that this can be the problem with Qt, but on my side I don't undestand, how can I detect such applications and control them without hanging?
Can it be this issue: https://bugreports.qt.io/browse/QTBUG-59889
I don't understand, why doesn't application hang if I change language with toolbar widget? According to documentation, it does the same: posts WM_INPUTLANGCHANGEREQUEST message!
I have captured messages with Spy++ and saw the default switcher doesn't send this message, it sends only
I don't understand, how application knows which language to choose if WM_INPUTLANGCHANGE
it sends itself.
I solved this problem The reason is that qt has a bug in processing WM_INPUTLANGCHANGEREQUEST