dogtail-devel [Bug 371588] New: dogtail-recorder problems with FC6 and keyboard navigation



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=371588

  dogtail | Recorder | Ver: CVS HEAD

           Summary: dogtail-recorder problems with FC6 and keyboard
                    navigation
           Product: dogtail
           Version: CVS HEAD
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: Recorder
        AssignedTo: dogtail-maint gnome bugs
        ReportedBy: wscarter us ibm com
         QAContact: dogtail-maint gnome bugs
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
Installed Fedora Core 6, did 'yum update'. Checked out dogtail from CVS and
installed it. Invoked a typical GUI application and also dogtail-recorder.
Attempt to use application via keyboard navigation and dogtail-recorder emits
many error messages.

Steps to reproduce:
1. Invoke 'gtk-demo &'. Invoke 'dogtail-recorder &'. 
2. Click the 'record' button in dogtail-recorder, then click the top bar
   of the gtk-demo window to acquire focus. Hit the down arrow key a few times.
3. Many error messages are emitted. However if you mouse-click on a table item 
   in the lefthand pane of gtk-demo and then hit an arrow key it will begin
   working.
   as expected.


Actual results:
#!/usr/bin/python
from dogtail.procedural import *

Traceback (most recent call last):
  File "/usr/bin/dogtail-recorder", line 837, in marshalOnKeyPress
    try: recorder.onKeyPress(event)
  File "/usr/bin/dogtail-recorder", line 730, in onKeyPress
    self.lastFocusedNode.text = self.lastFocusedNode._FakeNode__node.text
  File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 538, in
__getatt
r__
    return self.__text.getText(0, 32767)
  File "pyspi.pyx", line 882, in atspi.Text.getText
  File "pyspi.pyx", line 146, in atspi.exception_handler
SpiException: Non-fatal SPIException: type:0 source:0
"IDL:omg.org/CORBA/COMM_FA
ILURE:1.0"
Traceback (most recent call last):
  File "/usr/bin/dogtail-recorder", line 837, in marshalOnKeyPress
    try: recorder.onKeyPress(event)
  File "/usr/bin/dogtail-recorder", line 730, in onKeyPress
    self.lastFocusedNode.text = self.lastFocusedNode._FakeNode__node.text
  File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 538, in
__getatt
r__
    return self.__text.getText(0, 32767)
  File "pyspi.pyx", line 882, in atspi.Text.getText
  File "pyspi.pyx", line 146, in atspi.exception_handler
SpiException: Non-fatal SPIException: type:0 source:0
"IDL:omg.org/CORBA/COMM_FA
ILURE:1.0"
Traceback (most recent call last):
  File "/usr/bin/dogtail-recorder", line 837, in marshalOnKeyPress
    try: recorder.onKeyPress(event)
  File "/usr/bin/dogtail-recorder", line 730, in onKeyPress
    self.lastFocusedNode.text = self.lastFocusedNode._FakeNode__node.text
  File "/usr/lib/python2.4/site-packages/dogtail/tree.py", line 538, in
__getatt
r__
    return self.__text.getText(0, 32767)

Expected results:
The usual series of recorded keyboard commands.

Does this happen every time?
Once you click on some things inside the application window with the mouse, the
recorder appears to 'synch up' and behaves normally. You can then kill the GUI
application, bring it up again, and it will still behave normally. However if
you
exit dogtail and start both up from scratch the problem reappears.

Other information:
We suspect the cspi extension needs updating?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]