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 397680 - OOo Writer Save As Encoded Text throws up a dialog that is not properly spoken
OOo Writer Save As Encoded Text throws up a dialog that is not properly spoken
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: 2.24.0
Assigned To: Orca Maintainers
Orca Maintainers
http://www.openoffice.org/issues/show...
Depends on:
Blocks: 404411
 
 
Reported: 2007-01-17 16:51 UTC by Rich Burridge
Modified: 2008-11-18 21:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rich Burridge 2007-01-17 16:51:40 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.
Comment 1 Rich Burridge 2007-01-17 18:30:15 UTC
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.
Comment 2 Rich Burridge 2007-01-17 18:36:39 UTC
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.
Comment 3 Willie Walker 2007-05-25 16:27:27 UTC
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.
Comment 4 Willie Walker 2008-07-24 15:38:13 UTC
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.
Comment 5 Willie Walker 2008-11-18 21:45:30 UTC
(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.