Fix keyboard focus issues with a demo page for keyboard focus - #161
Merged
Merged
Conversation
cmeyer
commented
Sep 19, 2026
Contributor
- Report focus changes from a canvas widget to its focus changed callback.
- Add a focus changed callback to the declarative user interface.
- Report, take, and give up the focus of a list view widget.
- Report a list view return press only for the return key, not for a double click.
- Focus the first focusable canvas item when a canvas widget is tabbed into.
- Add a focus and keyboard demo page to the ui demo application.
- Make the tab key move the focus through a canvas item hierarchy.
- Let a canvas widget hold the focus on behalf of the canvas items drawn in it.
- Let a push button take the focus and the keyboard in the canvas backend.
- Let a check box and radio button take the focus and the keyboard in the canvas backend.
- Let a combo box and slider take the focus and the keyboard in the canvas backend.
- Let a check box or slider canvas item take the focus only when it is a control of its own.
- Leave the focus where it is when a control is clicked.
…he canvas backend.
…a control of its own.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.