Skip to content

fix(grid): cancel pending rename when activating a file - #25

Open
ooonea wants to merge 1 commit into
jonx:mainfrom
ooonea:cancel-rename-on-activation
Open

ooonea wants to merge 1 commit into
jonx:mainfrom
ooonea:cancel-rename-on-activation

Conversation

@ooonea

@ooonea ooonea commented Nov 1, 2026

Copy link
Copy Markdown

Double-clicking the label of a selected grid item can open its application and then start an inline rename, pulling focus back to Ferail. Only the list double-click handler canceled the delayed rename.

Cancel it in the common activation path so grid and keyboard activation behave the same way. Verified with a dummy ODT document: Writer opens and the delayed editor no longer appears. The inline-edit tests and Clippy pass.

Before:

Delayed grid rename

After:

Activation without delayed rename

List double-clicks canceled the delayed click-to-rename, but grid and keyboard activation did not. Cancel at the common activation entry point so the delayed editor cannot refocus Ferail after opening a document.

Assisted-by: OpenAI Codex
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