Skip to content

Fix autocomplete popup focus handling#14

Closed
MrNewDelhi wants to merge 1 commit into
Mudlet:masterfrom
MrNewDelhi:fix-autocomplete-focus-forwarding
Closed

Fix autocomplete popup focus handling#14
MrNewDelhi wants to merge 1 commit into
Mudlet:masterfrom
MrNewDelhi:fix-autocomplete-focus-forwarding

Conversation

@MrNewDelhi

Copy link
Copy Markdown

Summary

  • keep the autocomplete menu and list from activating or taking focus
  • forward typing from either autocomplete popup widget back to the editor
  • preserve list navigation when arrow/page keys are received by the menu

Motivation

This addresses a focus-stealing path related to Mudlet/Mudlet#5310 where continued typing can stop reaching the editor after autocomplete opens.

Testing

  • Ran git diff --check in the submodule.
  • Could not run a full Mudlet build locally because this macOS environment lacks Homebrew, CMake, Ninja, Qt, and Xcode; Homebrew installation is blocked by missing sudo/admin access.

Ensure the autocomplete popup menu and list do not activate or take focus, and forward key events from either popup widget back to the editor when typing continues.

Refs Mudlet/Mudlet#5310
@MrNewDelhi

Copy link
Copy Markdown
Author

Closing this after noticing the earlier, stronger attempts in #12 and #13, which cover the same focus issue with tests and proof. I do not want to duplicate reviewer effort or compete with those existing bounty attempts. Thanks for the project and sorry for the noise.

@MrNewDelhi MrNewDelhi closed this May 20, 2026
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