-
Notifications
You must be signed in to change notification settings - Fork 151
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
Chat window should only handle keys when the input field has focus #2066
Labels
chat
Multiplayer chat system
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
ui
User interface
Milestone
Comments
I fixed this. The only problem I have is that I'd like to unfocus the editbox when the window hasn't focus. Somehow I'm not able to achieve this. Hints are welcome 😄 |
stonerl
added a commit
that referenced
this issue
Dec 6, 2019
Merged
stonerl
added a commit
that referenced
this issue
Dec 10, 2019
stonerl
added a commit
that referenced
this issue
Dec 25, 2019
* Chatpanel is now properly aligned to the ok and back button * Chatpanel only has focus when clicked on it (removes cursor when not active) * Peaceful Mode checkbox has fixed spacing above and below * Text for missing map/savegame files has been moved to map_info_ * client_info_ has been remove since it does not provide any information of value and only duplicates information already available. * Full width button for map select. * Start Game button has been moved below the back button. fixes #3578 #2066
The best thing I can say right now is "with lots of digging though the control flow in the code". The focus issue is non-trivial. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
chat
Multiplayer chat system
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
ui
User interface
When the chat window is open or minimzed, keyboard shortcuts for everything else won't work. This could be solved by only handling the keys when the input field is focused.
Also, if the user left-clicks anywhere inside the chat window, the input field should be focused.
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: