Skip to content

Conversation

@m-sasha
Copy link
Member

@m-sasha m-sasha commented Jul 16, 2025

Fix the detection of accented character input on macOS to ignore control characters.
Before this change, it would react to e.g. backspace, which would then interfere with composition, deleting parts of it.

Fixes https://youtrack.jetbrains.com/issue/CMP-8184/InputMethod-input-breaks-after-pressing-backspace

Testing

Tested manually and added a new WindowTypeTest.

This should be tested by QA

Release Notes

Fixes - Desktop

  • [macOS] Fix composite (e.g. Chinese) input after pressing backspace.

@m-sasha m-sasha requested a review from igordmn July 16, 2025 11:22
@m-sasha m-sasha force-pushed the m-sasha/fix-chinese-input-after-backspace branch from 61b2f06 to 2d8a4a4 Compare July 16, 2025 12:52
@m-sasha m-sasha force-pushed the m-sasha/fix-chinese-input-after-backspace branch from 2d8a4a4 to bf44e41 Compare July 16, 2025 16:51
@m-sasha m-sasha changed the title Only react to letters or digits for accented character input on macOS. Ignore control characters for accented character input on macOS. Jul 16, 2025
@m-sasha m-sasha merged commit ce289ed into jb-main Jul 16, 2025
12 checks passed
@m-sasha m-sasha deleted the m-sasha/fix-chinese-input-after-backspace branch July 16, 2025 18:01
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.

2 participants