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

Cursor routing from a braille display not working in PowerPoint #9101

Closed
dkager opened this issue Dec 23, 2018 · 6 comments · Fixed by #17004
Closed

Cursor routing from a braille display not working in PowerPoint #9101

dkager opened this issue Dec 23, 2018 · 6 comments · Fixed by #17004

Comments

@dkager
Copy link
Collaborator

dkager commented Dec 23, 2018

STR:

  1. Ensure that a braille display is connected and braille is enabled.
  2. Open PowerPoint.
  3. Press Enter on the title or subtitle object.
  4. Enter some text.
  5. Press a cursor routing button over the text on the braille display.
  • Expected: The cursor moves.
  • Actual: No change.

Tested with PowerPoint 2013 and 2016.

@dkager
Copy link
Collaborator Author

dkager commented Dec 23, 2018

Probably because (in appModules\powerpnt.py):

			#TextRange objects in Powerpoint do not allow moving/expanding.
			#Therefore A full TextRange object must be fetched from the original TextFrame the selection is in.

I wonder if UIA could be of use here.

@DrSooom
Copy link

DrSooom commented Dec 23, 2018

I can confirm this issue with Microsoft PowerPoint 2010 (32-Bit) and NVDA 2018.1 on win7x64 with a connected Optelec ALVA BC680 via USB2 (try-build ALVA driver). btw: It's the same with pressing F2 on a text field, which I prefer.

@LeonarddeR
Copy link
Collaborator

I was able to successfully move within such a text range when enforcing UIA in Office 2016.

@Adriani90
Copy link
Collaborator

cc: @michaelDCurran

@MarioBatusic
Copy link

This Issue still occurs also with Freedom Scientific Focus 40 and Focus 14 and Office 2016.

@amenaide
Copy link

I can confirm this issue still persists wit Office 365. I'm using a Mantis q40 and a Handy Tech Easy Braille, the issue occurs on both devices.

@SaschaCowley SaschaCowley self-assigned this Jul 18, 2024
SaschaCowley added a commit that referenced this issue Aug 15, 2024
#17004)

Closes #9101

Summary of the issue:
The routing keys on a braille display do not work to move the text insertion point in Microsoft PowerPoint.

Description of user facing changes
The routing keys now move the cursor in PowerPoint. The review cursor selection commands also select text in text boxes.

Description of development approach
Looked at TextFrameTextInfo to look at how access to PowerPoint text works. Used the Microsoft Powerpoint Object Model documentation to find the appropriate methods. Implemented `_setCaretOffset` and `_setSelectionOffsets` methods on `appModules.powerpnt.TextFrameTextInfo`.

---

Co-authored-by: Sean Budd <[email protected]>
@github-actions github-actions bot added this to the 2024.4 milestone Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants