GNOME Bugzilla – Bug 350219
In OOo, no announcement when you create a new document
Last modified: 2008-07-22 19:24:13 UTC
In OOo, no announcement when you create a new document (i.e., the empty document appears and you hear nothing. This only happens when you start OOo with no document (i.e., new document will not create a new window.) [Tested by Will with the CVS equivalent of Orca 0.2.8 on Ubuntu Dapper Drake v6.06].
This is definitely reproduceable.
I must be seeing (or rather hearing) something different then Will. You don't get a speech line like: SPEECH OUTPUT: 'Untitled2 - StarOffice Writer frame' for the first File->New->Text Document, but you do get: SPEECH OUTPUT: 'Untitled1 - StarOffice Writer root pane' You don't get the SPEECH OUTPUT: 'Untitled1 - StarOffice Writer frame' because the first document is automatically placed in the gray panel within that initial Star Office window. The full speech output for creating two new text documents is: SPEECH OUTPUT: 'StarOffice frame' SPEECH OUTPUT: 'StarOffice frame StarOffice root pane' SPEECH OUTPUT: 'panel' SPEECH OUTPUT: 'F10' SPEECH OUTPUT: '' SPEECH OUTPUT: 'menu bar' SPEECH OUTPUT: '' SPEECH OUTPUT: 'File menu' SPEECH OUTPUT: '' SPEECH OUTPUT: 'New menu' SPEECH OUTPUT: '' SPEECH OUTPUT: 'Text Document Control n' SPEECH OUTPUT: 'Return' SPEECH OUTPUT: '' SPEECH OUTPUT: 'panel' SPEECH OUTPUT: 'Untitled1 - StarOffice Writer root pane' SPEECH OUTPUT: '' SPEECH OUTPUT: '' SPEECH OUTPUT: '' SPEECH OUTPUT: 'F10' SPEECH OUTPUT: '' SPEECH OUTPUT: 'menu bar' SPEECH OUTPUT: '' SPEECH OUTPUT: 'File menu' SPEECH OUTPUT: '' SPEECH OUTPUT: 'New menu' SPEECH OUTPUT: '' SPEECH OUTPUT: 'Text Document Control n' SPEECH OUTPUT: 'Return' SPEECH OUTPUT: '' SPEECH OUTPUT: 'Untitled2 - StarOffice Writer frame' SPEECH OUTPUT: 'Untitled2 - StarOffice Writer frame Untitled2 - StarOffice Writer root pane' SPEECH OUTPUT: 'panel' The braille output for this run is slightly better: BRAILLE LINE: 'soffice.bin Application StarOffice Frame' BRAILLE LINE: 'soffice.bin Application StarOffice Frame StarOffice RootPane Panel' BRAILLE LINE: 'soffice.bin Application StarOffice Frame StarOffice RootPane MenuBar' BRAILLE LINE: 'soffice.bin Application StarOffice Frame StarOffice RootPane File Menu' BRAILLE LINE: 'soffice.bin Application StarOffice Frame StarOffice RootPane MenuBar New Menu' BRAILLE LINE: 'soffice.bin Application StarOffice Frame StarOffice RootPane MenuBar File Menu Text Document(Control n)' BRAILLE LINE: 'soffice.bin Application StarOffice Frame StarOffice RootPane Panel' BRAILLE LINE: 'soffice.bin Application Untitled1 - StarOffice Writer Frame Untitled1 - StarOffice Writer RootPane' BRAILLE LINE: 'soffice.bin Application Untitled1 - StarOffice Writer Frame Untitled1 - StarOffice Writer RootPane' BRAILLE LINE: 'soffice.bin Application Untitled1 - StarOffice Writer Frame Untitled1 - StarOffice Writer RootPane' BRAILLE LINE: ' $l' BRAILLE LINE: 'soffice.bin Application Untitled1 - StarOffice Writer Frame Untitled1 - StarOffice Writer RootPane MenuBar' BRAILLE LINE: 'soffice.bin Application Untitled1 - StarOffice Writer Frame Untitled1 - StarOffice Writer RootPane File Menu' BRAILLE LINE: 'soffice.bin Application Untitled1 - StarOffice Writer Frame Untitled1 - StarOffice Writer RootPane MenuBar New Menu' BRAILLE LINE: 'soffice.bin Application Untitled1 - StarOffice Writer Frame Untitled1 - StarOffice Writer RootPane MenuBar File Menu Text Document(Control n)' BRAILLE LINE: ' $l' BRAILLE LINE: 'soffice.bin Application Untitled2 - StarOffice Writer Frame' BRAILLE LINE: 'soffice.bin Application Untitled2 - StarOffice Writer Frame Untitled2 - StarOffice Writer RootPane Panel' What would have been nice was if there was a StarOffice option to always open new documents in a new window, but if there is such as option, I couldn't find it.
Created attachment 74644 [details] Orca debug output whilst creating two new Text documents in OOo 2.0.4
It looks like this is the relevant stuff we get when the first document is created: vvvvv PROCESS OBJECT EVENT focus: vvvvv OBJECT EVENT: focus: detail=(0,0) app.name='soffice.bin' name=None role='paragraph' state='EDITABLE ENABLED FOCUSABLE FOCUSED MULTI_LINE MULTISELECTABLE SHOWING VISIBLE' relations='' LOCUS OF FOCUS: app='soffice.bin' name='' role='paragraph' event='focus:' OBJECT EVENT: focus: detail=(0,0) app.name='soffice.bin' name=None role='paragraph' state='EDITABLE ENABLED FOCUSABLE FOCUSED MULTI_LINE MULTISELECTABLE SHOWING VISIBLE' relations='' StarOffice.locusOfFocusChanged - Writer: text paragraph. SPEECH OUTPUT: '' GENERATOR: _getBrailleRegionsForText obj = role = paragraph BRAILLE LINE: ' $l' VISIBLE: ' $l', cursor=1 ^^^^^ PROCESS OBJECT EVENT focus: ^^^^^ Orca is not outputting any speech because there's nothing in the paragraph and we've made the user interface design decision to not announce the 'paragraph' role name. I wonder, however, why we're not getting any context information.
Created attachment 74656 [details] [review] Patch to fix the problem. If the old locus of focus was on the File->New->Text Document menu item and we are currently have focus on an empty text paragraph, then we've just created the first new text document in Writer. Announce it by doing a "where am I".
Changes cheked into CVS HEAD. Closing as FIXED.