Skip to content

Restore numpad gestures for move in flatten view of object hierarchy commands for all keyboard layouts#15191

Merged
seanbudd merged 1 commit into
nvaccess:betafrom
CyrilleB79:moveInFlattenView
Jul 26, 2023
Merged

Restore numpad gestures for move in flatten view of object hierarchy commands for all keyboard layouts#15191
seanbudd merged 1 commit into
nvaccess:betafrom
CyrilleB79:moveInFlattenView

Conversation

@CyrilleB79

Copy link
Copy Markdown
Contributor

Link to issue number:

Closes #15185
Follow-up of #15065.

Summary of the issue:

New gestures to move in flattened object hierarchy have been added in #15065: nvda+numpad3/9 for desktop layout and shift+NVDA+[ / ] for laptop layout.

Although mainly used with desktop layout, object nav-related gestures associated to numpad are usually bound to all keyboard layout (desktop and laptop). This allows for example users to have NVDA to be configured with laptop layout for a laptop computer without numpad on its keyboard, but to use the numpad gestures in case an external keyboard with numpad is plugged in.

Description of user facing changes

The gestures NVDA+numpad3/9 for the new flattened object navigation commands will now be available both in laptop and in desktop mode.

As done for other obj nav gestures, the user guide (and the change log) still advertises numpad gestures for desktop layout only.

Description of development approach

Changed the gesture definition.

Testing strategy:

  • Tested these gestures in both laptop and desktop modes
  • Also tested input help.

Known issues with pull request:

I have used:
git grep "desktop.*numpad"
and found two other places where numpad shortcuts are used in desktop only:

  • NVDAObjects/window/_msOfficeChart.py
  • NVDAObjects/window/excel.py

However, I have not been able to test them. They seem to be part of rarely used code and nobody complained of it until now. So I have not changed them.

Change log entries:

Not needed (unreleased feature)

Code Review Checklist:

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

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Thanks @CyrilleB79 If you aim to have this in 2023.2, you need to retarget to beta.

@CyrilleB79 CyrilleB79 changed the base branch from master to beta July 25, 2023 09:31
@CyrilleB79

Copy link
Copy Markdown
Contributor Author

Note: Proposed against beta since the changes are minimal and related to a PR introduced during 2023.2 dev cycle.

@CyrilleB79 CyrilleB79 marked this pull request as ready for review July 25, 2023 11:08
@CyrilleB79 CyrilleB79 requested a review from a team as a code owner July 25, 2023 11:08
@CyrilleB79 CyrilleB79 requested review from seanbudd and removed request for a team July 25, 2023 11:08

@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

@seanbudd seanbudd merged commit 236ff8e into nvaccess:beta Jul 26, 2023
@nvaccessAuto nvaccessAuto added this to the 2023.3 milestone Jul 26, 2023
@seanbudd seanbudd modified the milestones: 2023.3, 2023.2 Jul 26, 2023
@CyrilleB79 CyrilleB79 deleted the moveInFlattenView branch August 29, 2023 06:44
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.

new move to next/previous flattened hierarchy keys are inconsistant

4 participants