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 2617 - Composing words with chinese input method in iOS will receive SDL_TEXTINPUT events
Summary: Composing words with chinese input method in iOS will receive SDL_TEXTINPUT e...
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.3
Hardware: iPhone/iPod touch iOS (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
: 4251 4252 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-30 04:10 UTC by dudu
Modified: 2018-09-06 08:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dudu 2014-06-30 04:10:53 UTC
This will not happen in windows while composing words with chinese input method.

For example:
if I need input a chinese word "靠", I should press 3 keys including "k", "a" and "o". In windows, I will receive SDL_TEXTINPUT after composed "kao" and choosed the "靠" word from method.
but in iOS, I received SDL_TEXTINPUT while composing "k" "a" "o", received 3 times.
so I don't know how to deal with this event, because I don't know whether the user is inputting "kao" or "靠".
Comment 1 jimmy 2018-09-06 02:49:58 UTC
(In reply to dudu from comment #0)
> This will not happen in windows while composing words with chinese input
> method.
> 
> For example:
> if I need input a chinese word "靠", I should press 3 keys including "k", "a"
> and "o". In windows, I will receive SDL_TEXTINPUT after composed "kao" and
> choosed the "靠" word from method.
> but in iOS, I received SDL_TEXTINPUT while composing "k" "a" "o", received 3
> times.
> so I don't know how to deal with this event, because I don't know whether
> the user is inputting "kao" or "靠".
Comment 2 jimmy 2018-09-06 02:51:28 UTC
(In reply to dudu from comment #0)
> This will not happen in windows while composing words with chinese input
> method.
> 
> For example:
> if I need input a chinese word "靠", I should press 3 keys including "k", "a"
> and "o". In windows, I will receive SDL_TEXTINPUT after composed "kao" and
> choosed the "靠" word from method.
> but in iOS, I received SDL_TEXTINPUT while composing "k" "a" "o", received 3
> times.
> so I don't know how to deal with this event, because I don't know whether
> the user is inputting "kao" or "靠".

I have the question too...
Comment 3 Ozkan Sezer 2018-09-06 08:41:57 UTC
*** Bug 4251 has been marked as a duplicate of this bug. ***
Comment 4 Ozkan Sezer 2018-09-06 08:44:04 UTC
*** Bug 4252 has been marked as a duplicate of this bug. ***
Comment 5 Ozkan Sezer 2018-09-06 08:47:58 UTC
(In reply to jimmy from comment #2)
> I have the question too...

Creating multiple duplicates doesn't help solving a problem.