-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Touchpad tap to click not captured when io.ConfigInputTrickleEventQueue is false #7886
Comments
Yes that’s the point of this feature, it must not be disabled on a touchpad. |
I am curious about why you tried to disable it? |
Turning trickle off lets me display characters in an InputText() as soon as possible. Ideally I'd only want the mouse down/up trickle since these touchpad taps are not getting captured. |
You are correct that in the current version, there is a 1 frame delay processing characters because of this code. With [03322] [io] Processed: Key "H" Down
[03322] [io] Remaining: Text: h (U+00000068)
[03323] [io] Processed: Text: h (U+00000068) <-- processed by `InputText()` Without
I believe an issue should be open for this, ideally we could aim to find a way to disable some of the trickling better for text input. I don't have the solution yet but I can investigate. |
I agree, I'll make a new issue referencing this one. |
Version/Branch of Dear ImGui:
Version 1.91.1 WIP, Branch: master
Back-ends:
imgui_impl_metal.cpp + imgui_impl_osx.cpp
Compiler, OS:
macOS + Clang 15
Full config/build information:
No response
Details:
Tapping to click with a laptop touchpad fails when io.ConfigInputTrickleEventQueue is false. I have replicated this problem on a Windows 10 laptop and a Macbook M3 Air.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: