-
Notifications
You must be signed in to change notification settings - Fork 33
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
Xonotic: unable to type text in the game's UI and console. #253
Comments
Powering Xonotic is the Darkplaces engine. Its SDL input-related code is in vid_sdl.c. In case it's helpful, Darkplaces input-related code can be seen in this diff of my commit. Nothing can be inputted to Darkplaces console either, run a compiled engine along without any game and choose to open console, then input from keyboard may help debugging. Reproduced on Artix Linux,
there's no problem using Additionally, the problem is gone after reinstalling |
Have experienced a similar problem with Grafx2, also on Arch Linux. Last evening the program was working fine, but after switching from sdl2 to sdl2-compat I could no longer input the image dimensions in the image prompt. Otherwise the program seemed to work fine and running via terminal showed no errors. Also manually switching to sdl2 from AUR completely fixed the issue. |
Arch Linux SDL maintainer here. @icculus any advice/ideas about this and #255? We left the new SDL packages in testing for some time and received a bunch of sign-offs and with upstream marking the current releases as stable I thought it was safe to switch but now I'm not sure what to do with these reports coming in. FWIW, I can reproduce the reported problem with Xonotic. |
Note that Xonotic never calls https://wiki.libsdl.org/SDL2/SDL_StartTextInput
Is it possible that this exact part of SDL2 isn't implemented in sdl2-compat? |
We're working on these today. We'll ship a 2.30.51 soon with fixes for the issues coming in. Thanks! |
Just tried 0.8.6 with sdl2-compat, and it's working here. Does the Arch sdl2-compat package have this patch in it? It's pretty recent. |
@icculus Arch's pkgbuild takes the source from release-2.30.50. |
Okay, it sounds like this is fixed for the next release, which will be soon. Thanks! |
@svenstaro, we've released sdl2-compat with the keyboard input fix: |
Hello,
SDL2 has been replaced by SDL3 + sdl2-compat on Arch Linux.
Since the update, it is impossible to type text in the Xonotic UI and console, but predefined keybinds work as expected during a game.
I tried the latest official release of the game (Xonotic 0.8.6): https://xonotic.org/download/
As well as the latest nightly build: https://beta.xonotic.org/autobuild/
And a git build ;)
I don't see any errors in the terminal, and the game seems to be working fine otherwise.
EDIT: it happens with both the X11 and Wayland backends.
The text was updated successfully, but these errors were encountered: