https://bugs.winehq.org/show_bug.cgi?id=54318 Bug ID: 54318 Summary: Rich Edit inserts newly composed text at wrong position when system IME composition ends while a selection is active Product: Wine Version: 8.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs(a)winehq.org Reporter: jinoh.kang.kr(a)gmail.com CC: huw(a)codeweavers.com Distribution: --- When the user attempts to perform select-and-replace with newly composed text from system IME (fcitx5) as the replacement, Rich Edit inserts the new text at the _ending_ character position of the current selection, instead of the _starting_ character position. Steps to reproduce: 1. Activate fcitx5 (Hangul). 2. Enter the following text: "[ABCXYZ]" 3. Select the following text: "ABC" 4. Compose a character. Expected behaviour: The composed character should replace "ABC". Actual behaviour: The text "ABC" is erased, but the newly composed character is inserted after "Z", before "]". -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.