Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

ui::InputText widget can't input characters #57

Open
mp5557 opened this issue Jan 20, 2018 · 1 comment
Open

ui::InputText widget can't input characters #57

mp5557 opened this issue Jan 20, 2018 · 1 comment

Comments

@mp5557
Copy link

mp5557 commented Jan 20, 2018

I use cinder-imgui in ubuntu 14 to write some toy code. When i pressed keyboard to type characters to ui::InputText widgets, the widgets' contents didn't insert any new characters. However, when i pressed the delete key, the characters in widgets could be deleted. Even in the test demo window, i can't insert any words in console examples. The 'WantCaptureKeyboard' and 'WantTextInput' flags in test demo windows were set to 1 when i focus and ui::InputText. It works when i test samples in imgui, but it dosen't works when i test in cinder-imgui. Could any one can give some advice how to set cinder-imgui properly?

@totalgee
Copy link
Contributor

Could this be related to https://discourse.libcinder.org/t/cant-type-in-the-imgui-sample-linux/615 (since you're also on Linux)? Or maybe not...

I'm using macOS and finding lots of weird things with the InputText (Multiline) widget. It often loses shift, control or command key modifiers, subsequently acting like the key remains held down (loses the keyUp?). Also, I think cut and paste are supposed to work with ImGui, but I've not had any luck with them in Cinder-ImGui.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants