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
Keyboard layout changes not handled #895
Comments
… keyboard layout while an SFML application is running. Fixes #895
Try out d25cb9c. |
I tried it. The warning message disappear but both KeyEvent and TextEntered events still follow the first layout. To summarize, Display.cpp Besides, reading the source, I felt that the way InputImpl's |
… keyboard layout while an SFML application is running. Fixes #895
Try out c94536a. |
This is not working, but I noticed that |
Define "not working". What are you doing? Changing the keyboard layout or re-plugging the device? |
I mean that the commit c94536a does not handle keyboard layout changes. Nothing is updated when I switch the keyboard layout because this if condition never passes:
Yesterday I was only changing the keyboard layout. As surprising as it may seem, |
… keyboard layout while an SFML application is running. Fixes #895
a5de801 should do the trick. Was a bit more involved than I originally thought. |
Now, KeyEvent and TextEvent data follow the new layout. 👏 |
… keyboard layout while an SFML application is running. Fixes #895
Fixed in 0df1c97 on branch 2.3.x |
The issue #879 was closed but the issue of keyboard layout changes remains.
Using Ubuntu 14.04 and SFML 2.3, changing the keyboard layout while an application is running is not handled properly. Both KeyEvent and TextEntered events still follow the layout in effect when the application was launched.
Moreover, a warning message appears. (See this comment)
The text was updated successfully, but these errors were encountered: