Open vkedwardli opened 1 year ago
Does it still happen if you disable "Live Conversion" in the IME settings?
For ease of testing, to make Lite XL show the actual characters:
.config/lite-xl/fonts
local code_font = renderer.font.load(DATADIR .. "/fonts/JetBrainsMono-Regular.ttf", 15 * SCALE)
local jp_font = renderer.font.load(USERDIR .. "/fonts/NotoSansJP-Regular.otf", 15 * SCALE)
style.code_font = renderer.font.group({code_font, jp_font})
Thanks for the info, I can show the composite character correctly now
Does it still happen if you disable "Live Conversion" in the IME settings?
Yes, disabling "Live Conversion" only disable the second level to escape, but the problem "multiple escape key press to escape each level" still exists
This is reproducible on macOS 10.15.6 not reproducible on macOS 10.13.6 nor macOS 11.2.1
When using SDL2, I need to double press (or even more times) the Escape key to dismiss the macOS IME Composite text + Candidate Window (
SDL_TEXTEDITING
/Composite string is not shown in the screencap)Current behaviour:![Nov-06-2022 05-07-31](https://user-images.githubusercontent.com/602245/200141372-f50597f8-cdaf-4c17-9766-d7d1edb13945.gif)
Expected behaviour:![Nov-06-2022 05-07-43](https://user-images.githubusercontent.com/602245/200141370-0c40d485-6a4b-4a71-81d9-54717942aa87.gif)
SDLTranslatorResponder
'sNSTextInputContext
has handled the escape key and returned "true"interpretKeyEvents:
or handleEvent: to theNSTextInputContext
does not work.interpretKeyEvents:
does not work.I can reproduce this issue with Lite XL (cc @Guldoman) :![Nov-10-2022 04-10-22](https://user-images.githubusercontent.com/602245/200931185-a686366e-8f7b-4a3d-b160-67be5145d2f6.gif)
Only SDL2 application is affected, there are no problem with system apps like
TextEdit.app
or a simple imgui app without SDL2I'm a bit lost, hope any IME expert could shed some light, thanks in advance!
Incorrect attempt to fix this issue: https://github.com/libsdl-org/SDL/pull/6486