Apply the default text entry limit #291

Open
colonelpanic8 wants to merge 1 commit from upstream-pr/291 into main
colonelpanic8 commented 2026-11-24 23:19:30 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by colonelpanic8 on 2026-11-24T23:19:30Z.


Apply the GDK's 1,024-character default when the requested limit is zero. Use the resolved limit in both the host dialog and result trimming. The async regression exercises a default request with a 1,025-character input, and the existing test covers an explicit limit.

Fixes #248.

Verification

  • Windows-target Clippy for victory and victory-hle, including test targets
  • Windows build passed both xgameui tests under Wine, including the async default-limit regression
  • Staged asset-policy check
<!-- greyfinch-sync:fxceless/victory-fork:issue:6593393377 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/291). Originally posted by [colonelpanic8](https://github.com/colonelpanic8) on 2026-11-24T23:19:30Z. --- Apply the GDK's 1,024-character default when the requested limit is zero. Use the resolved limit in both the host dialog and result trimming. The async regression exercises a default request with a 1,025-character input, and the existing test covers an explicit limit. Fixes #248. ## Verification - Windows-target Clippy for `victory` and `victory-hle`, including test targets - Windows build passed both `xgameui` tests under Wine, including the async default-limit regression - Staged asset-policy check
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/291:upstream-pr/291'
git switch 'upstream-pr/291'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/291'
git switch 'upstream-pr/291'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/291'
git switch 'upstream-pr/291'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/291'
git switch 'main'
git merge --squash 'upstream-pr/291'
git switch 'main'
git merge --ff-only 'upstream-pr/291'
git switch 'main'
git merge 'upstream-pr/291'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!291
No description provided.