We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5397 - Fcitx input is truncated (SDL2 hg default branch)
Summary: Fcitx input is truncated (SDL2 hg default branch)
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.12
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-14 06:24 UTC by sowfelicity
Modified: 2020-12-14 17:24 UTC (History)
1 user (show)

See Also:


Attachments
Split the long text input event into multiple shorten text input event. (763 bytes, patch)
2020-12-14 06:24 UTC, sowfelicity
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description sowfelicity 2020-12-14 06:24:39 UTC
Created attachment 4579 [details]
Split the long text input event into multiple shorten text input event.

1. Long input from Fcitx5 will be truncated.
2. It seemed that support to Fcitx4 on linux was broken.

This patch is a workaround for 1 based on the solution in src/core/linux/SDL_ibus.c.
Comment 1 Sam Lantinga 2020-12-14 17:24:34 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/518b9209544a