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

[RegressionFix] Window: Propagate key events when view not having focus #2393

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

jeremypw
Copy link
Collaborator

Fixes #2392

@jeremypw jeremypw requested a review from a team January 28, 2024 10:23
Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

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

In this branch I have to press Ctrl + F to focus search bar and use it. In main it focuses automatically.

@jeremypw jeremypw mentioned this pull request Jan 28, 2024
@jeremypw
Copy link
Collaborator Author

jeremypw commented Jan 28, 2024

@lenemter Thanks for spotting that! I think I have fixed it properly now.

Hold on! Found a problem.

@jeremypw jeremypw marked this pull request as draft January 28, 2024 17:21
@jeremypw jeremypw marked this pull request as ready for review January 28, 2024 17:53
@jeremypw
Copy link
Collaborator Author

With these changes needed to ensure that the active slot has keyboard focus else switching tabs between an unloadable view (cannot focus) and a loaded view (can focus) did not cause the view to become focussed so key events were not processed.

Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

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

Fixes the issue for me.

@jeremypw jeremypw merged commit 898b19b into main Jan 29, 2024
4 checks passed
@jeremypw jeremypw deleted the jeremypw/searchbar-oblique branch January 29, 2024 16:32
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.

Search resets after pressing /
2 participants