Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window: do not capture keyevents when view is renaming #2398

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

jeremypw
Copy link
Collaborator

Fixes #2397

Fixes another unfortunate side-effect of having the Window override the native key handling of Gtk.TreeView (in order to get desired search behaviour), which requires it to handle events in the CAPTURE phase. The window now checks that the focus is not locked on the view before handling key presses.

@jeremypw jeremypw requested review from lenemter and a team January 29, 2024 17:09
Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work here

@danirabbit danirabbit merged commit 5199272 into main Feb 1, 2024
4 checks passed
@danirabbit danirabbit deleted the fic-rename-regression branch February 1, 2024 20:59
jeremypw added a commit that referenced this pull request Feb 2, 2024
Co-authored-by: Danielle Foré <danielle@elementary.io>
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.

Rename doesn't allow to type any characters
2 participants