ATK Does Not Implement Collection
I'm still new to all this, so please correct me if I'm wrong.
While testing out some DBus methods using the atspi
Rust crate, I noticed I always receive an empty list as a response from Firefox when running the Collection.GetMatches method. Perhaps I am mistaken, but it appears that Firefox can't implement this because it uses ATK, and ATK doesn't implement Collection anywhere. I tried looking through the repo, but there appears to be no implementation of it here.
Is this intentional? Is there some historical reason it's not implemented here?
Trying to cache the entire document tree and/or writing a custom DFS (Depth-First Search) algorithm for structural navigation is multiplying the amount of DBus calls we make by the hundreds. It would be much nicer if ATK provided this functionality through the Collection interface with the following methods:
- GetMatches(...) -- Get matches throughout all children of the current element.
- GetMatchesTo(...) -- Get matches throughout all children of the current element, that come before a specified ObjectPath.
- GetMatchesFrom(...) -- Get matches throughout all children of the current element, that come after a specified ObjectPath.
Feel free to correct me if this is the wrong place/way to report these things ans ask questions.
Thanks,