Skip to content

Fix typing in BetterQuesting text fields on unlisted screens - #391

Merged
Dream-Master merged 1 commit into
GTNewHorizons:masterfrom
micvog:fix/bq-text-input-unlisted-screens
Nov 3, 2026
Merged

Dream-Master merged 1 commit into
GTNewHorizons:masterfrom
micvog:fix/bq-text-input-unlisted-screens

Conversation

@micvog

@micvog micvog commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

#385 made BqPanelTextField ignore the character of normal key events, because the text should arrive as SDL text events instead. SDL only sends those after SDL_StartTextInput, which BqTextInput calls for 8 specific screens. Everywhere else the field gets no characters at all. Backspace and Ctrl+V still work, since they take a different branch.

The double character check now only applies while text input is active, so the other screens go back to key event characters like before #385. They still have no IME support, which isn't a regression. IME on the listed screens is unchanged.

Tested

On the 2.9.0 full pack: party create, party rename and the invite field now take typed text, and quest search still gets each character once.

Not tested

  • IME on the listed screens was not tested. That path isn't changed though
    - Invites between two players were not tested. The issue also says invited players get nothing, and I only confirmed that a typed name reaches the server.
  • The other screens that lost typing (quest editor, item selection, etc.) were not tried individually, they use the same text field.

PROBABLY closes GTNewHorizons/GT-New-Horizons-Modpack#27496

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@miaowwwwww

miaowwwwww commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

tested in server, works

(edit, i did not read that it was tested in server already)

@RealSilverMoon RealSilverMoon left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on my 2.9.0 crucible server, LGTM

@Dream-Master
Dream-Master merged commit b254580 into GTNewHorizons:master Nov 3, 2026
1 check passed
@micvog
micvog deleted the fix/bq-text-input-unlisted-screens branch November 9, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BetterQuesting Parties not working

4 participants