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

Summary: Fcitx input is truncated (SDL2 hg default branch)
Product: SDL Reporter: sowfelicity
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sowfelicity
Version: 2.0.12   
Hardware: x86_64   
OS: Linux   
Attachments: Split the long text input event into multiple shorten text input event.

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