Skip to content

Fix FakeVim regressions after upstream sync#3651

Merged
hluk merged 1 commit into
masterfrom
fix-fakevim-tab-insert
Jun 24, 2026
Merged

Fix FakeVim regressions after upstream sync#3651
hluk merged 1 commit into
masterfrom
fix-fakevim-tab-insert

Conversation

@hluk

@hluk hluk commented Jun 23, 2026

Copy link
Copy Markdown
Owner
  • Block all input method events (including preedit and query) in command mode. On Wayland compositors with press-and-hold for alternative characters (KDE Plasma 6.7+), key events are intercepted at the compositor level: preedit events trigger an alternatives popup and commit events insert text, both bypassing FakeVim's QKeyEvent filter. Suppress the entire IM interaction in command mode and route any committed text through FakeVim's input handler. Toggle WA_InputMethodEnabled based on the current FakeVim mode so IM features remain available in insert mode.

  • Implement the tabPressedInInsertMode callback added upstream, which now gates Tab key handling in insert mode.

  • Implement the processOutput callback that replaced the removed getProcessOutput() function, restoring shell command execution for filter and bang commands.

Assisted-by: Claude (Anthropic)

- Block all input method events (including preedit and query) in command
  mode. On Wayland compositors with press-and-hold for alternative
  characters (KDE Plasma 6.7+), key events are intercepted at the
  compositor level: preedit events trigger an alternatives popup and
  commit events insert text, both bypassing FakeVim's QKeyEvent filter.
  Suppress the entire IM interaction in command mode and route any
  committed text through FakeVim's input handler. Toggle
  WA_InputMethodEnabled based on the current FakeVim mode so IM features
  remain available in insert mode.

- Implement the tabPressedInInsertMode callback added upstream, which
  now gates Tab key handling in insert mode.

- Implement the processOutput callback that replaced the removed
  getProcessOutput() function, restoring shell command execution for
  filter and bang commands.

Assisted-by: Claude (Anthropic)
@hluk hluk force-pushed the fix-fakevim-tab-insert branch from 48793a5 to 9805092 Compare June 23, 2026 16:55
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 45.71429% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.32%. Comparing base (303d1d4) to head (9805092).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
plugins/itemfakevim/itemfakevim.cpp 45.71% 19 Missing ⚠️

❌ Your patch check has failed because the patch coverage (45.71%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3651      +/-   ##
==========================================
- Coverage   74.33%   74.32%   -0.01%     
==========================================
  Files         256      256              
  Lines       37938    37970      +32     
  Branches     5115     5120       +5     
==========================================
+ Hits        28202    28222      +20     
- Misses       9736     9748      +12     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hluk hluk merged commit 7d5307d into master Jun 24, 2026
12 of 13 checks passed
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