+semver:minor Added KeysExtensions class with the IsNavigationKey ext…#1437
Open
+semver:minor Added KeysExtensions class with the IsNavigationKey ext…#1437
Conversation
…ension method. Fixed a subtle bug in IbusKeyboardSwitchingAdaptor when determining whether IBus would have handled a key event while a pre-edit is active. The code now accounts for the possibility of modifier keys (particularly Ctrl), which IBus would presumably have handled when in combination with navigation keys, Backspace, and Delete.
Palaso Tests 4 files ±0 4 suites ±0 10m 35s ⏱️ +47s Results for commit dab5ab2. ± Comparison against base commit a76d787. This pull request skips 1 test.♻️ This comment has been updated with latest results. |
ermshiperete
approved these changes
May 23, 2025
Comment on lines
+342
to
+344
| /// REVIEW: During pre-edit, I assume that IBus handles both basic and modified navigation | ||
| /// keys like Ctrl+Left. ChatGPT says this is true, but I have not been able to verify this | ||
| /// since I don't know how to set up a Linux/IBus environment where I could test this. |
Member
There was a problem hiding this comment.
To test this on Linux:
- install Ubuntu 24.04 in a VM
- install an IME that uses pre-edit: in a terminal run
sudo apt update && sudo apt install ibus-pinyin - open Keyboard settings, click "+ Add Input Source", search for Pinyin by clicking on the three dots below English. If you type the search term "pinyin" you'll get "Other". Clicking that shows "Chinese (Pinyin)" which you then can add.
- close the settings
- in the terminal run
ibus restart(or reboot) - the language/keyboard picker in the top bar should now offer "Chinese (Pinyin)".
…the compiler doesn't think we're unsure whether the sender will be a Control.
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
tombogle
commented
Jul 10, 2025
Contributor
Author
tombogle
left a comment
There was a problem hiding this comment.
Reviewable status: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @ermshiperete and @hindlemail)
# Conflicts: # CHANGELOG.md
ermshiperete
approved these changes
Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ension method.
Fixed a subtle bug in IbusKeyboardSwitchingAdaptor when determining whether IBus would have handled a key event while a pre-edit is active. The code now accounts for the possibility of modifier keys (particularly Ctrl), which IBus would presumably have handled when in combination with navigation keys, Backspace, and Delete.
This change is