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 350219 - In OOo, no announcement when you create a new document
In OOo, no announcement when you create a new document
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
0.2.x
Other All
: Normal minor
: 2.18.0
Assigned To: Rich Burridge
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-07 01:39 UTC by Rich Burridge
Modified: 2008-07-22 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Orca debug output whilst creating two new Text documents in OOo 2.0.4 (179.90 KB, text/plain)
2006-10-13 17:19 UTC, Rich Burridge
  Details
Patch to fix the problem. (1.71 KB, patch)
2006-10-13 20:40 UTC, Rich Burridge
none Details | Review

Description Rich Burridge 2006-08-07 01:39:57 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].
Comment 1 Willie Walker 2006-08-07 13:31:40 UTC
This is definitely reproduceable.
Comment 2 Rich Burridge 2006-08-11 19:15:11 UTC
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.


Comment 3 Rich Burridge 2006-10-13 17:19:41 UTC
Created attachment 74644 [details]
Orca debug output whilst creating two new Text documents in OOo 2.0.4
Comment 4 Willie Walker 2006-10-13 17:44:33 UTC
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.
Comment 5 Rich Burridge 2006-10-13 20:40:34 UTC
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".
Comment 6 Rich Burridge 2006-10-13 20:43:32 UTC
Changes cheked into CVS HEAD. Closing as FIXED.