GNOME Bugzilla – Bug 397680
OOo Writer Save As Encoded Text throws up a dialog that is not properly spoken
Last modified: 2008-11-18 21:45:30 UTC
As reported by Krister on the Orca mailing list: "I was trying to save a file in formated text format and wanted to edit my ascii filter settings to make sure I could edit the file from Windows, so I checked the "edit filter settings" check box in the "save as" dialog in OpenOffice and pressed "OK". The edit filter settings came up and I tried to choose the correct character set, namely Windows and was surpriced when i couldn't see any character set at all. Pressing the down arrow didn't produce neither speech nor braille. This has worked before." The problem is that there is another OOo dialog coming up before the ASCII Filter Options dialog. It's something like: This document may contain formatting or content that cannot be saved in the Text Encoded file format. Do you wish to save the document in this format anyway? There are Yes and No buttons and a "Do not show this warning again" checkbox. Unfortunately the text for this dialog is not being spoken. When it first comes up it just tells you the focus is on the No button.
Will and I investigated this. What we saw was that there is single label on that dialog which has a LABEL_FOR relationship with the "Yes" button. Neither the "Yes" button or the "No" button have a LABELLED_BY relationship with that label. In speechgenerator.py, the _getSpeechForDialog() method calls _getSpeechForAlert(), which in turn calls util.findUnrelatedLabels(). Because that label has a LABEL_FOR relationship, it's ignored. I'll file an OOo bug. Two possible solutions: 1/ Just remove the LABEL_FOR relationship from that label. 2/ Add LABELL_BY relationships for the "Yes" and "No" buttons to that label.
I've filed OOo issue #73576 on this. http://www.openoffice.org/issues/show_bug.cgi?id=73576 Adjusting summary to indicate that this bug is blocked by the other.
Removing target milestone from [blocked] bugs. We have little control over them, so we're better off letting priority and severity be our guide for poking the related components.
Just an update: I tried the following steps using OODEV300_m27 build 9336 my OpenSolaris box: 1) Run oowriter 2) Type "foo" 3) File -> Save As... 4) Choose "foo" for the filename and choose File type: Text Encoded (.txt) 5) Click Save At this point Orca autoreads the "This document may contain..." text (confirmed fix for that part, yeah!) 6) Press "Keep Current Format". The "ASCII Filter Options" dialog appears. At this point, Orca is quite verbose about the Character set combo box and list. We could do a better job of speaking it, but it at least gets spoken. When we tab to the Paragraph break radio button group, we don't speak the "Paragraph break" label, but we do speak the radio buttons. In looking at things in accerciser, the hierarchy and label for/by and member of relations all seem to be good. So, I'm going to take "[to confirm]" off this, but leave it open since there's still some work to be done.
(In reply to comment #4) ... > At this point, Orca is quite verbose about the Character set combo box and > list. We could do a better job of speaking it, but it at least gets spoken. > When we tab to the Paragraph break radio button group, we don't speak the > "Paragraph break" label, but we do speak the radio buttons. ... Joanie opened bug #556657 for the chattiness problem, which definitely seems to be what we're running into above. Closing this bug as FIXED.