Skip to content

Conversation

Xiaokang2022
Copy link
Contributor

@Xiaokang2022 Xiaokang2022 commented Oct 12, 2024

Prevent IDLE from exhibiting unexpected behavior by detecting and filtering events where event.keysym does not match event.char

@Xiaokang2022 Xiaokang2022 changed the title gh-125349: fix: unexpected behavior caused by the input method gh-125349: IDLE - fix: unexpected behavior caused by the input method Oct 12, 2024
@Xiaokang2022
Copy link
Contributor Author

@terryjreedy

Please review this PR.

@@ -0,0 +1 @@
Fixed unexpected behavior caused by the input method.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to be chinese, You should explain in detail in NEWS that the chinese input method is not correct.
Otherwise this will confuse the user because it doesn't know what language the input method is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment, I'm not sure if this problem only occurs with Chinese input methods, and maybe with input methods in other languages. Because the root cause of the problem is not linguistic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants