-
Notifications
You must be signed in to change notification settings - Fork 288
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
imgui inputText/float/int duplicated characters #1898
Comments
I was able to reproduce the issue with version 6.14.4, but it appears to be resolved in 6.15.0. This might be related to the changes in https://github.com/dartsim/dart/pull/1872/files. Could you try updating to 6.15.0? |
Thanks for the reply. I did the update and the behavior remains the same. |
Could you retry the build with |
hey, I managed it by dong this: replace the imgui source files with up to date files from https://github.com/ocornut/imgui/, and keep the changes marked with MODIFIED FOR DART in https://github.com/dartsim/dart/blob/main/dart/external/imgui/imgui_impl_opengl2.cpp#L120 and resolve some compile errors. Eventually I made it with some effort. Does it make sense to update the imgui source files to latest version in dart ? |
I'm glad to hear you found a workaround! Eventually, I plan to remove the IMGUI source from this repository. Originally, it was included because (1) IMGUI wasn’t available through package managers, and (2) modifications marked as "MODIFIED_FOR_DART" were necessary. However, these reasons no longer seem to apply. To support this transition, I’ve added the Updating the IMGUI source in this repository is fine. Feel free to submit a PR for the update, but I would recommend using the |
Taking a build in example,
point_cloud
If I focus on the text input, and type 1, it will appear 11 in input box, same as all characters (except backspace).
I checked the origin imgui project, it looks fine in its example.
I wonder if we used it in a wrong way ?
Bug Report
Environment
Expected Behavior
The input box shows exactly what I typed.
Current Behavior
The input characters are duplicated.
Steps to Reproduce
Code to Reproduce
The text was updated successfully, but these errors were encountered: