After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321625 - Better debug names for search results in procedural.py
Better debug names for search results in procedural.py
Status: RESOLVED WONTFIX
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other Linux
: Normal enhancement
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-11-16 17:01 UTC by Dave Malcolm
Modified: 2011-02-07 06:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dave Malcolm 2005-11-16 17:01:41 UTC
Nodes have a debugName attribute which is set up by a search, by calling a
method on the Predicate class.  This gives nice readable debug names for the nodes
e.g. 
"File" menu
"Cancel" button
etc

All of the searches in procedural.py seem to be ultimately doing a search using
a GenericPredicate.  This gives you a very generic debug name for the result node
e.g. 
name="File" roleName="menu"
name="Cancel" roleName="button"

I think the former style of debug names are much better, and it would be good to
get this supported throughout the procedural.py API.  This could be done by
either using more specific Predicate subclasses, or by simply overwriting the
Node.debugName variable (I'd greatly prefer the former approach since it
leverages lots of existing code e.g. handling i18n)
Comment 1 Zack Cerza 2005-11-16 18:13:49 UTC
I'd much rather do this with actual Predicate subclasses, and I think it'll be
possible.
Comment 2 Fabio Durán Verdugo 2011-02-07 06:01:29 UTC
dogtail development has been stalled and it has been unmaintained for a few
years now.
Maintainers don't have future development plan so i am closing bugs as WONTFIX.
Please feel free to reopen the bugs in future if anyone takes the responsibility for active development.