Skip to content

Pass over hidden and disabled widgets in the blocked Tab walk - #291

Open
rezabakhshilaktasaraei wants to merge 1 commit into
desktop-app:masterfrom
rezabakhshilaktasaraei:layer-tab-skips-hidden
Open

Pass over hidden and disabled widgets in the blocked Tab walk#291
rezabakhshilaktasaraei wants to merge 1 commit into
desktop-app:masterfrom
rezabakhshilaktasaraei:layer-tab-skips-hidden

Conversation

@rezabakhshilaktasaraei

Copy link
Copy Markdown
Contributor

The layer's Tab traversal (base::FocusNextPrevChildBlocked) picked the next widget with a Tab focus policy without checking whether it is shown or enabled, so Tab could land on the field of a collapsed section (the explanation of a quiz in the poll box) or on a button that is faded out, leaving the keyboard on something that is not there. Qt's default traversal skips those; do the same.

Needed by the tdesktop poll box Tab changes.

The layer's Tab traversal picked the next widget with a Tab focus policy
without asking whether it is shown or enabled, so Tab could land on the
field of a collapsed section or on a button that is faded out, where the
keyboard is left on something that is not there. The default traversal
skips those; do the same.
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