Re: [orca-list] orca 3.11 and java applications



Hi Joanie and all.

I found part of the problem.
there is the lack of a left parenthesis in src/orca/scripts/toolkits/J2SE-access-bridge/script.py, at line 176.

Now the problem is that the menu bar is not read by orca when I press the f10 key.

KEYBOARDEVENT: type=<enum ATSPI_KEY_PRESSED_EVENT of type AtspiEventType>
                id=65479
                hw_code=76
                modifiers=0
                event_string=(F10)
                keyval_name=(F10)
                is_text=True
                timestamp=2097206757
                time=1385076676.083078
                keyType=function
                shouldEcho=True

KeyboardEvent.present: F10
SPEECH OUTPUT: 'F10 '
----------> QUEUEING FOCUS:
DEQUEUED FOCUS:  <----------

vvvvv PROCESS OBJECT EVENT focus: vvvvv
OBJECT EVENT: focus:                                   detail=(0,0,0)
----------> QUEUEING OBJECT:STATE-CHANGED:SELECTED
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-VALUE
----------> QUEUEING OBJECT:STATE-CHANGED:CHECKED
----------> QUEUEING OBJECT:STATE-CHANGED:FOCUSED
app.name='GroovyConsole' name='File' role='menu' state='checked enabled focusable selectable selected sensitive showing visible' relations='' Script for event: GroovyConsole (module=orca.scripts.toolkits.J2SE-access-bridge.script)
TOTAL PROCESSING TIME: 0.0321
^^^^^ PROCESS OBJECT EVENT focus: ^^^^^

DEQUEUED OBJECT:STATE-CHANGED:SELECTED  <----------

vvvvv PROCESS OBJECT EVENT object:state-changed:selected vvvvv
OBJECT EVENT: object:state-changed:selected            detail=(1,0,0)
----------> QUEUEING OBJECT:STATE-CHANGED:FOCUSED
----------> QUEUEING OBJECT:STATE-CHANGED:FOCUSED
app.name='GroovyConsole' name='File' role='menu' state='checked enabled focusable selectable selected sensitive showing visible' relations='' Script for event: GroovyConsole (module=orca.scripts.toolkits.J2SE-access-bridge.script)
TOTAL PROCESSING TIME: 0.0054
^^^^^ PROCESS OBJECT EVENT object:state-changed:selected ^^^^^

DEQUEUED OBJECT:PROPERTY-CHANGE:ACCESSIBLE-VALUE  <----------

vvvvv PROCESS OBJECT EVENT object:property-change:accessible-value vvvvv
OBJECT EVENT: object:property-change:accessible-value  detail=(0,0,0)
app.name='GroovyConsole' name='File' role='menu' state='checked enabled focusable selectable selected sensitive showing visible' relations='' Script for event: GroovyConsole (module=orca.scripts.toolkits.J2SE-access-bridge.script)
TOTAL PROCESSING TIME: 0.0043
^^^^^ PROCESS OBJECT EVENT object:property-change:accessible-value ^^^^^

DEQUEUED OBJECT:STATE-CHANGED:CHECKED  <----------

vvvvv PROCESS OBJECT EVENT object:state-changed:checked vvvvv
OBJECT EVENT: object:state-changed:checked             detail=(1,0,0)
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
app.name='GroovyConsole' name='File' role='menu' state='checked enabled focusable selectable selected sensitive showing visible' relations='' Script for event: GroovyConsole (module=orca.scripts.toolkits.J2SE-access-bridge.script)
TOTAL PROCESSING TIME: 0.0582
^^^^^ PROCESS OBJECT EVENT object:state-changed:checked ^^^^^

DEQUEUED OBJECT:STATE-CHANGED:FOCUSED  <----------

vvvvv PROCESS OBJECT EVENT object:state-changed:focused vvvvv
OBJECT EVENT: object:state-changed:focused             detail=(1,0,0)
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
----------> QUEUEING OBJECT:PROPERTY-CHANGE:ACCESSIBLE-NAME
app.name='GroovyConsole' name='File' role='menu' state='checked enabled focusable selectable selected sensitive showing visible' relations='' Script for event: GroovyConsole (module=orca.scripts.toolkits.J2SE-access-bridge.script) script.skipObjectEvent: skipped due to more recent event of the same type in a different object
TOTAL PROCESSING TIME: 0.0111
^^^^^ PROCESS OBJECT EVENT object:state-changed:focused ^^^^^

DEQUEUED OBJECT:STATE-CHANGED:FOCUSED  <----------

vvvvv PROCESS OBJECT EVENT object:state-changed:focused vvvvv
OBJECT EVENT: object:state-changed:focused             detail=(0,0,0)
KEYBOARDEVENT: type=<enum ATSPI_KEY_RELEASED_EVENT of type AtspiEventType>
                id=65479
                hw_code=76
                modifiers=0
                event_string=(F10)
                keyval_name=(F10)
                is_text=True
                timestamp=2097206875
                time=1385076676.210097
                keyType=function
                shouldEcho=True

app.name='GroovyConsole' name='None' role='push button' state='enabled focusable opaque sensitive showing visible' relations='' Script for event: GroovyConsole (module=orca.scripts.toolkits.J2SE-access-bridge.script)
TOTAL PROCESSING TIME: 0.0042
^^^^^ PROCESS OBJECT EVENT object:state-changed:focused ^^^^^

DEQUEUED OBJECT:STATE-CHANGED:FOCUSED  <----------

vvvvv PROCESS OBJECT EVENT object:state-changed:focused vvvvv
OBJECT EVENT: object:state-changed:focused             detail=(1,0,0)
app.name='GroovyConsole' name='None' role='root pane' state='enabled focusable focused opaque sensitive showing visible' relations='' Script for event: GroovyConsole (module=orca.scripts.toolkits.J2SE-access-bridge.script)
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 1
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 1
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 1
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 3
Script.allDescendants looking at child 4
Script.allDescendants looking at child 5
Script.allDescendants looking at child 6
Script.allDescendants looking at child 7
Script.allDescendants looking at child 8
Script.allDescendants looking at child 9
Script.allDescendants looking at child 10
Script.allDescendants looking at child 11
Script.allDescendants looking at child 12
Script.allDescendants looking at child 13
Script.allDescendants looking at child 14
Script.allDescendants looking at child 15
Script.allDescendants looking at child 16
Script.allDescendants looking at child 17
Script.allDescendants looking at child 18
Script.allDescendants looking at child 2
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 3
Script.allDescendants looking at child 1
Script.allDescendants looking at child 0
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 3
Script.allDescendants looking at child 4
Script.allDescendants looking at child 5
Script.allDescendants looking at child 6
Script.allDescendants looking at child 7
Script.allDescendants looking at child 8
Script.allDescendants looking at child 9
Script.allDescendants looking at child 1
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 3
Script.allDescendants looking at child 4
Script.allDescendants looking at child 5
Script.allDescendants looking at child 6
Script.allDescendants looking at child 7
Script.allDescendants looking at child 8
Script.allDescendants looking at child 9
Script.allDescendants looking at child 10
Script.allDescendants looking at child 11
Script.allDescendants looking at child 12
Script.allDescendants looking at child 2
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 3
Script.allDescendants looking at child 4
Script.allDescendants looking at child 5
Script.allDescendants looking at child 6
Script.allDescendants looking at child 7
Script.allDescendants looking at child 8
Script.allDescendants looking at child 9
Script.allDescendants looking at child 10
Script.allDescendants looking at child 11
Script.allDescendants looking at child 12
Script.allDescendants looking at child 3
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 4
Script.allDescendants looking at child 0
Script.allDescendants looking at child 1
Script.allDescendants looking at child 2
Script.allDescendants looking at child 3
Script.allDescendants looking at child 4
Script.allDescendants looking at child 5
Script.allDescendants looking at child 6
Script.allDescendants looking at child 7
Script.allDescendants looking at child 8
Script.allDescendants looking at child 9
Script.allDescendants looking at child 10
Script.allDescendants looking at child 11
Script.allDescendants looking at child 12
Script.allDescendants looking at child 5
Script.allDescendants looking at child 0
LOCUS OF FOCUS: app='GroovyConsole' name='' role='root pane'
                event='object:state-changed:focused'
BRAILLE: update disabled

PREPARATION TIME: 0.0013
generate speech for unfocused app.name='GroovyConsole' name='None' role='root pane' state='enabled focusable focused opaque sensitive showing visible' relations='' (args={'mode': 'speech', 'role': <enum ATSPI_ROLE_ROOT_PANE of type AtspiRole>, 'recursing': True, 'formatType': 'unfocused', 'priorObj': <Accessible object at 0x7f1aa3128870 (AtspiAccessible at 0x16ede40)>}) using 'oldAncestors + newAncestors + newRowHeader + newColumnHeader + newRadioButtonGroup + labelAndName + allTextSelection + roleName + availability + (mnemonic and (pause + mnemonic + lineBreak) or []) + accelerator + childWidget + newNodeLevel + unselectedCell + (tutorial and (pause + tutorial) or [])'
GENERATION  TIME: 0.0005  ---->  oldAncestors=[]
script_utilities.commonAncestor...
...script_utilities.commonAncestor
GENERATION  TIME: 0.0008  ---->  newAncestors=[]
GENERATION  TIME: 0.0007  ---->  newRowHeader=[]
GENERATION  TIME: 0.0005  ---->  newColumnHeader=[]
GENERATION  TIME: 0.0005  ---->  newRadioButtonGroup=[]
GENERATION  TIME: 0.0012  ---->  labelAndName=[]
GENERATION  TIME: 0.0005  ---->  allTextSelection=[]
GENERATION  TIME: 0.0010  ---->  roleName=['root pane', {}]
GENERATION  TIME: 0.0005  ---->  availability=[]
GENERATION  TIME: 0.0004  ---->  mnemonic=[]
GENERATION  TIME: 0.0005  ---->  accelerator=[]
GENERATION  TIME: 0.0006  ---->  childWidget=[]
GENERATION  TIME: 0.0014  ---->  newNodeLevel=[]
GENERATION  TIME: 0.0007  ---->  unselectedCell=[]
GENERATION  TIME: 0.0005  ---->  tutorial=[]
COMPLETION  TIME: 0.0125
generate speech results:
  root pane
  {}
SPEECH OUTPUT: 'root pane'
TOTAL PROCESSING TIME: 0.0324
^^^^^ PROCESS OBJECT EVENT object:state-changed:focused ^^^^^

Thanks.

On 11/21/2013 03:45 PM, Joanmarie Diggs wrote:
Hey José.

I've not been able to get a working Java ATK Wrapper set up yet, so
whereas I've been testing all my changes as I go along, that didn't
happen with the Java support. Sorry about that.

I will happily help you make sense of debug output and welcome patches
to fix the Java support in 3.11. <smiles> Thanks in advance!

Back to Gecko for me....
--joanie

On 11/21/2013 12:15 PM, José Vilmar Estácio de Souza wrote:
Hi all.
I installed java-atk-wrapper and found that it doesn't work with orca 3.11.
I try the same application using orca 3.10 and it works ok.
I'll run orca in debug mode to identify the difference.
Thanks.




--
{}S José Vilmar Estácio de Souza


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