Skip to content

Bring back workaround for Scintilla IME support#582

Merged
arch1t3cht merged 1 commit intomasterfrom
ime_workaround
Apr 3, 2026
Merged

Bring back workaround for Scintilla IME support#582
arch1t3cht merged 1 commit intomasterfrom
ime_workaround

Conversation

@arch1t3cht
Copy link
Copy Markdown
Member

This was initially added in fffb138 but removed in c487dd2 since it uses private wxWidgets APIs and hence does not work when linking system wxWidgets.

However, without this workaround, the IME is completely nonfunctional in the subtitle edit control on Mac. The proper solution here would be to add IME support in wxStyledTextCtrls in wxWidgets, but this is a larger undertaking that will take more time. For the time being, we can bring back this workaround but only enable it when we're building wxWidgets as a subproject, which the GitHub CI does.

With this hack enabled, the IME is still a bit janky, especially when pressing backspace, but at least it is possible to use it on Mac now.

Fixes #318


PR created to test CI

This was initially added in fffb138 but
removed in c487dd2 since it uses private
wxWidgets APIs and hence does not work when linking system wxWidgets.

However, without this workaround, the IME is completely nonfunctional in the
subtitle edit control on Mac. The proper solution here would be to add IME
support in wxStyledTextCtrls in wxWidgets, but this is a larger undertaking
that will take more time.  For the time being, we can bring back this
workaround but only enable it when we're building wxWidgets as a subproject,
which the GitHub CI does.

With this hack enabled, the IME is still a bit janky, especially when pressing
backspace, but at least it is *possible* to use it on Mac now.

Fixes #318
@arch1t3cht arch1t3cht merged commit 5740307 into master Apr 3, 2026
7 checks passed
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.

(MacOS) Could not type with Asian(ja-jp romaji, zh-cn pinyin) IME

1 participant