Skip to content

Fix up of #15867 and other issues found during its investigation#15906

Merged
seanbudd merged 6 commits into
nvaccess:masterfrom
CyrilleB79:noDesc
Dec 12, 2023
Merged

Fix up of #15867 and other issues found during its investigation#15906
seanbudd merged 6 commits into
nvaccess:masterfrom
CyrilleB79:noDesc

Conversation

@CyrilleB79

@CyrilleB79 CyrilleB79 commented Dec 11, 2023

Copy link
Copy Markdown
Contributor

I have put various little changes in the same PR. Let me know if I should divide it.

Link to issue number:

Follow-up of #15867.

Summary of the issue:

Various issues seen in #15867 or while investigating on it (e.g. looking at usages of gesture.send()):

  1. Script BrowseModeTreeInterceptor.script_passThrough in browseMode.py has a description. It should not since: 1. It is only dedicated to specific key which should not be remapped; 2. There should not be any input help associated to it, since this "pass through" should be transparent to users.
  2. In Eclipse, when no selected auto-completion item can be found, NVDA+D should not pass the gesture through. Indeed gesture.send() should not be used since NVDA+D is not a native gesture of this IDE. An error message should be reported instead.
  3. The PowerPoint script does not show up in its category, whereas it was the goal in Adding command gesture categories for appmodules #15867.
  4. With 15867, scripts to set headers of rows or columns in Excel or Word have their description shortened and the details of its usage (e.g. 1 press, 2 presses) is not reported anymore in input help. This is not consistent with other scripts. It's better to keep more details in input help as for other scripts.

Description of user facing changes

Fix all these points.

Description of development approach

See code.

Testing strategy:

Manual tests:
2. Checked that pass through script are not reported in input help, nor present in the input gesture dialog.
3. Check that PowerPoint's control+shift+S script is listed in the PowerPoint category of Input gesture dialog.
4. Check input help in Word and Excel for set column/row headers commands.

Not tested:

  1. I do not have Eclipse installed; please double check the code!

Known issues with pull request:

None

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@AppVeyorBot

Copy link
Copy Markdown
  • FAIL: Translation comments check. Translation comments missing or unexpectedly included. See build log for more information.
  • PASS: Unit tests.
  • FAIL: Lint check. See test results for more information.
  • PASS: System tests (tags: installer NVDA).
  • Build (for testing PR): https://ci.appveyor.com/api/buildjobs/em2l0ee42uenmvqo/artifacts/output/nvda_snapshot_pr15906-30292,15e9a600.exe
  • CI timing (mins):
    INIT 0.0,
    INSTALL_START 1.0,
    INSTALL_END 1.0,
    BUILD_START 0.0,
    BUILD_END 29.5,
    TESTSETUP_START 0.0,
    TESTSETUP_END 0.3,
    TEST_START 0.0,
    TEST_END 16.9,
    FINISH_END 0.1

See test results for failed build of commit 15e9a60067

@CyrilleB79 CyrilleB79 marked this pull request as ready for review December 11, 2023 23:30
@CyrilleB79 CyrilleB79 requested a review from a team as a code owner December 11, 2023 23:30
@CyrilleB79 CyrilleB79 requested a review from seanbudd December 11, 2023 23:30

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CyrilleB79

Comment thread source/NVDAObjects/window/excel.py Outdated
Comment thread source/NVDAObjects/IAccessible/winword.py Outdated
Comment thread source/NVDAObjects/window/excel.py Outdated
Comment thread source/NVDAObjects/window/excel.py Outdated
@seanbudd seanbudd merged commit 8d2fc9f into nvaccess:master Dec 12, 2023
@nvaccessAuto nvaccessAuto added this to the 2024.1 milestone Dec 12, 2023
@CyrilleB79 CyrilleB79 deleted the noDesc branch January 8, 2024 12:35
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
…ion (nvaccess#15906)

I have put various little changes in the same PR. Let me know if I should divide it.

Link to issue number:
Follow-up of nvaccess#15867.

Summary of the issue:
Various issues seen in nvaccess#15867 or while investigating on it (e.g. looking at usages of gesture.send()):

Script BrowseModeTreeInterceptor.script_passThrough in browseMode.py has a description. It should not since: 1. It is only dedicated to specific key which should not be remapped; 2. There should not be any input help associated to it, since this "pass through" should be transparent to users.
In Eclipse, when no selected auto-completion item can be found, NVDA+D should not pass the gesture through. Indeed gesture.send() should not be used since NVDA+D is not a native gesture of this IDE. An error message should be reported instead.
The PowerPoint script does not show up in its category, whereas it was the goal in Adding command gesture categories for appmodules nvaccess#15867.
With 15867, scripts to set headers of rows or columns in Excel or Word have their description shortened and the details of its usage (e.g. 1 press, 2 presses) is not reported anymore in input help. This is not consistent with other scripts. It's better to keep more details in input help as for other scripts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants