Skip to content

Disable fcitx5 QuickPhrase's Super+grave trigger - #12756

Closed
quanru wants to merge 3 commits into
omacom:quattrofrom
quanru:fix/fcitx5-quickphrase-trigger
Closed

quanru wants to merge 3 commits into
omacom:quattrofrom
quanru:fix/fcitx5-quickphrase-trigger

Conversation

@quanru

@quanru quanru commented Sep 21, 2026 •

Copy link
Copy Markdown

Summary

fcitx5 compiles Super+grave and Super+semicolon in as QuickPhrase's global triggers. The Quake console binds Super+grave, and Hyprland's consuming keybind would leave QuickPhrase silently dead on that chord with no error or indication why (see #12365).

  • config/fcitx5/conf/quickphrase.conf narrows QuickPhrase's trigger list to Super+semicolon, removing only the conflicting chord.
  • QuickPhrase itself remains enabled and the unrelated global trigger continues to work.
  • Migration 1789983273.sh seeds users without a config and atomically repairs existing configs that still inherit fcitx5's defaults, while preserving any explicitly configured or disabled trigger list.
  • A focused shell regression covers missing configs, commented defaults, interrupted writes, symlinked configs, custom trigger lists, explicit disabling, reload behavior, and idempotency.

Closes #12365.

Verification

Revalidated end-to-end against the exact candidate config and migration in a real Omarchy 4.0.3 VM. Midscene drove the live Hyprland desktop over VNC while QEMU QMP injected hardware-keyboard chords through both Hyprland and fcitx5.

The treatment starts with an existing quickphrase.conf containing another user choice and only commented TriggerKey defaults, then runs the shipped atomic migration and verifies that the existing choice is preserved.

  • Control: stock fcitx5 opens the Quick Phrase candidate menu on Super+grave.
  • Treatment: Super+grave no longer opens fcitx5 UI and the following key reaches the terminal.
  • Preservation: Super+semicolon still opens the Quick Phrase candidate menu.
  • Atomicity: an injected mid-write failure leaves the original config unchanged, and a normal retry completes the repair.
  • Result: 2/2 Midscene cases passed on the first attempt.

Latest evidence page · Complete native Midscene report · CI run

Control — stock Super+grave opens QuickPhrase

Stock fcitx5 showing the Quick Phrase candidate menu after Super+grave

Treatment — Super+grave is released

Terminal with no Quick Phrase popup after Super+grave

Treatment — Super+semicolon still opens QuickPhrase

Quick Phrase candidate menu open after Super+semicolon

Local checks also passed: migration regression suite, systemd suite, ShellCheck, bash -n, TypeScript typecheck, and git diff --check.

fcitx5 compiles Super+grave in as QuickPhrase's global trigger. The
upcoming Quake console binds the same Super+grave chord, and Hyprland's
consuming keybind leaves QuickPhrase silently dead on that chord with
no error or indication why.

Ship config/fcitx5/conf/quickphrase.conf with a blanked TriggerKey, the
same override style config/fcitx5/conf/clipboard.conf already uses to
blank fcitx's clipboard triggers. QuickPhrase itself is untouched; only
the global hotkey goes away. Seed existing installs with a migration
that deploys the file when absent and restarts the fcitx5 user service;
users who set their own trigger keep it.

Closes omacom#12365.

Co-Authored-By: Claude Code <[email protected]>
@quanru
quanru marked this pull request as draft September 22, 2026 14:16
@omarchybot omarchybot added the bug Something isn't working label Sep 27, 2026
@quanru

quanru commented Oct 7, 2026

Copy link
Copy Markdown
Author

跟进 Fcitx5 QuickPhrase 的 Super+grave 触发冲突修复。当前分支无合并冲突,PR 仍是 Draft,未附着 CI 检查。请维护者确认关闭该默认触发键是否符合 Omarchy 的快捷键约定;正式准备合并前仍需在实际 Fcitx5 环境验证开机/重启输入法后的配置效果。

@dhh

dhh commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Thanks for this! #14433 landed the same fix in the meantime: config/fcitx5/conf/quickphrase.conf now leaves QuickPhrase on Super+semicolon only, and omarchy-input-method configure merges it into new and existing profiles (migration 1791367434). This one would duplicate that file and its migration, so closing as superseded.

@dhh dhh closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove SUPER+grave from fcitx5 QuickPhrase before the Quake console bind ships (patch included)

3 participants