You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
551b6c4d662a3938f0cd197e79cc29922feec1ff (on master)
Back-ends:
imgui_impl_glfw.cpp + imgui_impl_opengl2.cpp
Compiler, OS:
Linux + GCC + Wayland
Full config/build information:
No response
Details:
My Issue/Question:
When copying text into an InputText, filtering (with ImGuiInputTextFlags_CallbackCharFilter or the built-in filters) only partially works.
Blocking certain characters entirely works fine. If you try to paste text into the "imgui" text field in the demo, only the allowed characters are inserted.
The issue is that transforming characters does not work. For instance, if I type a into the uppercase text field in the demo, it gets turned into A. However, if I paste a into the field, it stays lowercase.
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
This can be reproduced with the Filtered Text Input section in the demo.
The text was updated successfully, but these errors were encountered:
Version/Branch of Dear ImGui:
551b6c4d662a3938f0cd197e79cc29922feec1ff
(onmaster
)Back-ends:
imgui_impl_glfw.cpp
+imgui_impl_opengl2.cpp
Compiler, OS:
Linux + GCC + Wayland
Full config/build information:
No response
Details:
My Issue/Question:
When copying text into an
InputText
, filtering (withImGuiInputTextFlags_CallbackCharFilter
or the built-in filters) only partially works.Blocking certain characters entirely works fine. If you try to paste text into the
"imgui"
text field in the demo, only the allowed characters are inserted.The issue is that transforming characters does not work. For instance, if I type
a
into theuppercase
text field in the demo, it gets turned intoA
. However, if I pastea
into the field, it stays lowercase.Screenshots/Video:
Minimal, Complete and Verifiable Example code:
This can be reproduced with the
Filtered Text Input
section in the demo.The text was updated successfully, but these errors were encountered: