Skip to content

Keep IME text out of the menu search line during delete confirmation - #3

Open
TAE58 wants to merge 1 commit into
linyiru:menu-ime-inputfrom
TAE58:menu-ime-modal-readonly
Open

TAE58 wants to merge 1 commit into
linyiru:menu-ime-inputfrom
TAE58:menu-ime-modal-readonly

Conversation

@TAE58

@TAE58 TAE58 commented Oct 13, 2026

Copy link
Copy Markdown

Stacked on omacom#12338. One line on top of menu-ime-input.

Summary

  • While the uninstall confirmation is open, keyCatcher accepts every key, so Latin input never reaches the search line.
  • fcitx still delivers composed text as an InputMethodEvent directly to the focused TextInput, which bypasses Keys.onPressed. Typing Hangul behind the dialog appends it to the filter (calc becomes calc가나) and the menu re-filters.
  • readOnly: root.deleteConfirmOpen rejects that input-method event and tells the IME the field is not a target for that span.

Tested on Omarchy 4.0.4 with fcitx5 Hangul, on top of omacom#12338's Menu.qml: with the dialog open, 가나 no longer reaches the search line. After it closes, Hangul search (터미널), Ctrl+V, and Backspace still work.

The Alt/Meta swallow from the review is not in this PR. AltGr was not tested, and those chords are part of what omacom#12338 keeps typable.

Test plan

keyCatcher swallows keys while the dialog is open, but fcitx delivers composed text as an input-method event straight to the focused TextInput. Making the field read-only for that span rejects the commit.
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.

1 participant