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 451875 - AttributeError with table cells
AttributeError with table cells
Status: RESOLVED NOTABUG
Product: dogtail
Classification: Deprecated
Component: Framework
0.6.1
Other All
: Normal critical
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-28 13:34 UTC by Alexander Todorov
Modified: 2007-06-28 15:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test program (1.61 KB, application/x-gzip)
2007-06-28 13:36 UTC, Alexander Todorov
Details

Description Alexander Todorov 2007-06-28 13:34:11 UTC
Steps to reproduce:
1. Select a node of type roleName='table cell'
2. Make sure that node.dump() lists 'toggle' and 'active' actions
3. node.toggle() - AttributeError


Stack trace:


Other information:
Output from a test program:
-------------------------
Node roleName='table cell' name='' description=''
 toggle
 activate
ERROR performing action
-------------------------

Either node.dump() lists actions incorrectly either .toggle() is something wrong.
Comment 1 Alexander Todorov 2007-06-28 13:36:32 UTC
Created attachment 90801 [details]
Test program

provides:
* XML file created with Glade
* python file to create the GUI and add some cells
* Dogtail testcase (which produces the show output)
Comment 2 Zack Cerza 2007-06-28 15:35:01 UTC
Actions are executed using node.doAction(name); e.g. node.doAction('toggle'). The existing node.click() is just a shortcut for this, and will likely have its behavior changed at some point.