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 title bar element detection #1300

Merged
merged 1 commit into from
Dec 10, 2023
Merged

Conversation

decodism
Copy link
Contributor

@decodism decodism commented Dec 6, 2023

Fixes #1293. Search in children rather than just using the API.

@rxhanson
Copy link
Owner

rxhanson commented Dec 8, 2023

Thanks! I'll test this out this weekend. I feel deceived by the Accessibility Inspector - when I was using it, I didn't see any children there; hence my workaround. Worth noting: I have had a scenario in the past, oddly enough with Outlook, where recursively going through the accessibility children resulted in an infinite loop & crash.

@decodism
Copy link
Contributor Author

decodism commented Dec 8, 2023

I can't say I've ever noticed this issue with the inspector. The infinite loop is due to an element containing itself. I was already handling this, but I've updated the PR to make it more robust.

@rxhanson rxhanson merged commit 09726c2 into rxhanson:master Dec 10, 2023
1 check passed
@rxhanson
Copy link
Owner

Thanks again!

@decodism decodism deleted the master-2 branch December 11, 2023 20:18
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.

Double-click window title bar to maximize/restore issue with Outlook.app search box.
2 participants