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

Fix panic in accesskit when focus change occurs before initial tree u… #6952

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tronical
Copy link
Member

@tronical tronical commented Dec 1, 2024

…pdate

This is a prospective fix to avoid sending tree: None as the first tree update.

Fixes #6015

…pdate

This is a prospective fix to avoid sending `tree: None` as the first tree update.

Fixes #6015
@tronical
Copy link
Member Author

tronical commented Dec 1, 2024

@oswald2 could you give this patch a try?

@DataTriny
Copy link
Contributor

@tronical You'll want to reset initial_tree_sent to false when the app receives WindowEvent::AccessibilityDeactivated.

@tronical
Copy link
Member Author

tronical commented Dec 1, 2024

Well spotted - thanks! I'll fix that tomorrow.

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.

Panic in accesskit when using dialog box
2 participants