Skip to content
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

Ctrl+Tab in Web #5

Open
frink opened this issue Aug 23, 2020 · 2 comments
Open

Ctrl+Tab in Web #5

frink opened this issue Aug 23, 2020 · 2 comments

Comments

@frink
Copy link

frink commented Aug 23, 2020

Just perusing the Imgui Manual this morning and came across the part where it says Ctrl+Tab selects window. This won't work on emscripten because that is already bound to change tabs.Not sure what to do about this. Could use vim bindings (Ctrl+w, Ctrl+Shift+w) but those are not as well known to the world. Alt+Tab is in uded in most OSes. Could use Ctrl+Alt+tab but it's cumbersome...

Anyhow, my point was just to catalog the issue for others. - This may be something to bring up to the main Imgui repo. dunno...

Thoughts?

@pthom
Copy link
Owner

pthom commented Sep 1, 2020

Hum, this is not easy, since this key combination seems to be hardcoded in imgui.cpp, see https://github.com/ocornut/imgui/blob/master/imgui.cpp#L9057

@frink
Copy link
Author

frink commented Sep 2, 2020

You're right. Seems like this needs to be up-streamed. I thought maybe his could be fixed in the imgui_impl_xxx.cpp file for Emscripten. But the more I dig the more I realize this is NOT trivial to bolt on to change things.

Ideally, this needs to be configurable by each implementation. Probably Alt+Left/Right Arrow would be the most comfortable. But each app should have it's own control over such things...

I'll upstream this and see where it goes...

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

No branches or pull requests

2 participants