Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Say all only reads the first line of multi-line paragraphs in Symphony/OOo documents #910

Closed
nvaccessAuto opened this issue Sep 16, 2010 · 5 comments

Comments

@nvaccessAuto
Copy link

Reported by jteh on 2010-09-16 08:26
Str:

  1. Create a new IBM Lotus Symphony document.
  2. Type a paragraph which spans two lines; e.g. "This is a test to see whether say all will read the second line of a paragraph containing multiple lines in IBM Lotus Symphony."
  3. Press enter and then type a one line paragraph.
  4. Press ctrl+home, then perform a say all (NVDA+downArrow).
  5. Expected: NVDA should read all of the text just entered.
  6. Actual: NVDA only reads the first line of the first paragraph, then skips to the next paragraph.

I think I introduced this regression in 34e25f1. Basically, !CompoundTextInfo.collapse(end=True) assumes that the end !TextInfo is always at the end of its object, which certainly isn't always true.

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2010-09-21 04:46
Fixed in 5ead33c.
Changes:
State: closed

@nvaccessAuto
Copy link
Author

Comment 2 by m11chen (in reply to comment description) on 2010-11-18 13:11
The sayAll seems to still get stuck when encountering a line break. I tested with both the 2010.2 release and the latest development code. Can anyone else reproduce this?

Replying to jteh:

Str:

  1. Create a new IBM Lotus Symphony document.
  2. Type a paragraph which spans two lines; e.g. "This is a test to see whether say all will read the second line of a paragraph containing multiple lines in IBM Lotus Symphony."
  3. Press enter and then type a one line paragraph.
  4. Press ctrl+home, then perform a say all (NVDA+downArrow).
  • Expected: NVDA should read all of the text just entered.
  • Actual: NVDA only reads the first line of the first paragraph, then skips to the next paragraph.

I think I introduced this regression in 34e25f1. Basically, !CompoundTextInfo.collapse(end=True) assumes that the end !TextInfo is always at the end of its object, which certainly isn't always true.

@nvaccessAuto
Copy link
Author

Comment 3 by jteh on 2010-11-18 20:41
!OpenOffice.org or Symphony? This is probably a different issue and may well be specific to one or the other.

@nvaccessAuto
Copy link
Author

Comment 4 by m11chen on 2010-11-19 09:23
I am using IBM lotus Symphony, and I tried with both .odt and .sxw format
documents.

Steps to reproduce:
Open a new document.
Type a single line of text.
Press return to start a new line.
Type a second line of text.
Press Ctrl+home to go to the beginning of the document and press
NVDA+downArrow to perform a sayAll

Expected result:
NVDA should read the entire two lines.

Actual result:
NVDA would read the first line and stop.

Another note of different subject:
When there is a spelling error, and the user uses the inline context menu to
correct the error, NVDA would sometimes lose focus of the editable text
field after correcting the spelling. Pressing up or down arrow would no
longer speak the content of the document, and one would have to alt+tab out
of IBM Lotus Symphony and back in order to regain focus of the text. I
tried to reproduce this several times, and sometimes you could wait for
maybe 10 or 15 seconds after the spelling correction, and Nvda would seem
still be able to return focus to the editable text.

@nvaccessAuto
Copy link
Author

Comment 5 by m11chen on 2010-11-19 10:18
Please disregard my previous comment. Apparently, I was using an older version of symphony. After I installed the new version, the sayAll works fine.

However, the spell check issue is still present, namely that after using the inline spelling correction with the context menu, NVDA sometimes lose focus of the text after Symphony finishes correcting the spelling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants