Re: [orca-list] finding comments in libreoffice writer



Hi Jason and list. I suspect orca is trying to do the right thing here
but it isn't being spoken. In the following I've inserted a comment
between "e" and "w" in the word "review". I pick up the debug output
with the cursor on "w" and hit left arrow twice...
----------------------------------------------------------------------
sayCharacter: char=<w>, startOffset=6, 
caretOffset=6, endOffset=7, speakBlankLines=True
SPEECH OUTPUT: 'w'
TOTAL PROCESSING TIME: 0.0067
^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^

KEYBOARDEVENT: type=1
                id=65361
                hw_code=113
                modifiers=0
                event_string=(Left)
                keyval_name=(Left)
                is_text=True
                timestamp=172011706
                time=1397906551.535331
                keyType=navigation
                shouldEcho=False

KEYBOARDEVENT: type=0
                id=65361
                hw_code=113
                modifiers=0
                event_string=(Left)
                keyval_name=(Left)
                is_text=True
                timestamp=172012963
                time=1397906552.791492
                keyType=navigation
                shouldEcho=False

----------> QUEUEING OBJECT:TEXT-CARET-MOVED 
DEQUEUED OBJECT:TEXT-CARET-MOVED  <----------

vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv
OBJECT EVENT: object:text-caret-moved                  detail=(5,0,0)
    app.name='soffice' name='None' role='paragraph' state='editable enabled focusable focused multi line 
multiselectable showing visible' relations='flows to'
Script for event: soffice (module=orca.scripts.apps.soffice.script)
BRAILLE LINE:  's(fice applic,n _+peter_ffdas_response_to_reviews.docx_: ,libre,(fice ,writ} frame 
_+peter_ffdas_response_to_reviews.docx_: ,libre,(fice ,writ} root pane scroll pane ,docu;t view 
,revie'\xfffc''\xfffc'w} `#1 (,-;ts 6,au?or)3  $l'
     VISIBLE:  ';t view ,revie'\xfffc''\xfffc'w}', cursor=14
sayCharacter: char=<>, startOffset=5, 
caretOffset=5, endOffset=6, speakBlankLines=True
TypeError when trying to write text
TOTAL PROCESSING TIME: 0.0098
^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^

KEYBOARDEVENT: type=1
                id=65361
                hw_code=113
                modifiers=0
                event_string=(Left)
                keyval_name=(Left)
                is_text=True
                timestamp=172013041
                time=1397906552.870091
                keyType=navigation
                shouldEcho=False

KEYBOARDEVENT: type=0
                id=65361
                hw_code=113
                modifiers=0
                event_string=(Left)
                keyval_name=(Left)
                is_text=True
                timestamp=172014310
                time=1397906554.139001
                keyType=navigation
                shouldEcho=False

----------> QUEUEING OBJECT:TEXT-CARET-MOVED 
DEQUEUED OBJECT:TEXT-CARET-MOVED  <----------

vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv
OBJECT EVENT: object:text-caret-moved                  detail=(4,0,0)
    app.name='soffice' name='None' role='paragraph' state='editable enabled focusable focused multi line 
multiselectable showing visible' relations='flows to'
Script for event: soffice (module=orca.scripts.apps.soffice.script)
BRAILLE LINE:  's(fice applic,n _+peter_ffdas_response_to_reviews.docx_: ,libre,(fice ,writ} frame 
_+peter_ffdas_response_to_reviews.docx_: ,libre,(fice ,writ} root pane scroll pane ,docu;t view 
Revie'\xfffc'w} `#1 (,-;ts 6,au?or)3  $l'
     VISIBLE:  ';t view Revie'\xfffc'w} `#1 (,-;', cursor=13
sayCharacter: char=<e>, startOffset=4, 
caretOffset=4, endOffset=5, speakBlankLines=True
SPEECH OUTPUT: 'e'
TOTAL PROCESSING TIME: 0.0095
^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^
----------------------------------------------------------------------
When I review this in emacspeak it looks like it's trying to vocalize
a character that the emacspeak system (using the outloud server)
pronounces as "object replacement character". 
Orca, using the speech-dispatcher layer doesn't produce any speech for
this and indeed there's a TypeError thrown. 
the next "left" takes us correctly to the "e".
Presumably this is fixed by getting "object replacement character"
pronounced. 
Can anyone tell me whether this is most easily done in orca or
speech-dispatcher?
I'll also check on the up-to-date system at work to see if this is
still happening in current versions.
regards
Peter
  


-- 
Support us in the OXFAM trailwalker as we try to walk 100km in 24
hours. <https://trailwalker.oxfam.org.au/team/home/15596>

Peter Rayner
room 343 
School of Earth Sciences, University of Melbourne, 3010, Vic, Australia
tel: work: +61 (0)3 8344 9708; fax: +61 (0)3 8344 7761 
mobile +61 402 752 379, skype: petermorag 
mail-to: prayner unimelb edu au


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