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

Issue in identifyting children of the parent #211

Open
rajujaina opened this issue Nov 11, 2024 · 3 comments
Open

Issue in identifyting children of the parent #211

rajujaina opened this issue Nov 11, 2024 · 3 comments

Comments

@rajujaina
Copy link

rajujaina commented Nov 11, 2024

Hi,

I recently started with Rust to access the Atspi library and Rust programming. Earlier, I used to work on Python and Atspi to access applications and do GUI testing. When I started with Rust, I found out that by using the "child_count" return "1" child is present, but the "get_children" doesn't return the objects.

attaching the image for ref
This is python implementation where i get the tree
image

This is the rust implementation, when i am logging the info to trace
image
the log info
image

@TTWNO
Copy link
Member

TTWNO commented Nov 11, 2024

Could you please attach full logs for both the Python and Rust code (as well as the full script for each)? I can run the scripts on my own computer and try to see what's going on.

About half of our devs are legally blind, so please do not attach pictures. To be fair, that isn't posted anywhere, so maybe we should add some Github issue templates.

@rajujaina
Copy link
Author

Hi
Thanks for quick response.

This is the link to an example code from where the tree can be printed in Python and other languages, it works well. https://github.com/infapi00/at-spi2-examples/blob/master/python-pyatspi2/print_active_window_hierarchy.py
This is the rust repository, - https://github.com/lilopkins/test-by-a11y
where I took the example from. the same error that I mentioned occurs here as well. the same identification implementation with the name "impl A11yNode" is in the example code provided at path "/atspi/examples/bus-tree.rs" .
Application which I tested and found out the issue is there and screen shorts posted, I can't share that. Sorry.

@TTWNO
Copy link
Member

TTWNO commented Nov 23, 2024

Sorry, but I can not track down this issue without additional information. At minimum, I'd need an application (not necessarily the one you're testing) that can reproduce the issue.

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

No branches or pull requests

2 participants