-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
IME input problem. #4642
Comments
This is not an IME specific problem but an IME triggering both events simultaneously would exacerbate the problem. If you use a custom input queue like https://gist.github.com/ocornut/8417344f3506790304742b07887adf9f you can problably work around this problem. We are now working (well, thedmd is) on an official version of this to be in master. |
I assume that the click on checkbox makes the IME flush the unsubmitted text and send both events? Can you confirm that the WM_CHAR event is always sent before WM_LBUTTONDOWN ? |
Can confirm that the problem also happens with Japanese IME and in some cases (due to the SDL2 backend Inochi Creator is using) can cause crashes due to cut-off UTF8 sequences. |
Hello, Was looking into this day. However, I can't repro (with |
PS: In the very last commit in Tools>DebugLog I have added a |
Version/Branch of Dear ImGui:
Version: 1.84.2
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: win32 dx9
Compiler: vs2019
Operating System: Windows 10
My Issue/Question:
This is a case when WM_CHAR and WM_LBUTTONDOWN events occur at the same time.
io.MouseDown[0]: true
io.InputQueueCharacters: Size 1, Data 44032 '가'
Screenshots/Video
Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: