19 Apr
2023
19 Apr
'23
5:06 p.m.
There is a issue when calculating flags in input_context_set_comp_str(). With purely this MR applied, I type 'nihongo\<SPACE\>n' with ibus-anthy or ibus-mozc. Below is the trace output. Note the lparam values. The analysis took a long time because I thought something else was causing it. ``` 00d0:trace:imm:input_context_set_comp_str ctx 00EF0690, result 1, str L"\65e5\672c\8a9e" 00d0:trace:imm:ime_send_message himc 00010064, msg 0x10f, wparam 0x65e5, lparam 0x18b8 00d0:trace:imm:input_context_set_comp_str ctx 00EF0690, result 0, str L"n" 00d0:trace:imm:ime_send_message himc 00010064, msg 0x10f, wparam 0x6e, lparam 0x1838 ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2637#note_30542