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

Windows 11 emoji panel/categories: NVDA says "clipboard history" twice when reviewing navigation menu items #16532

Closed
josephsl opened this issue May 13, 2024 · 0 comments · Fixed by #16555
Labels
bug/double-speaking p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority platform/Windows11 Issues specific to Windows 11 triaged Has been triaged, issue is waiting for implementation.

Comments

@josephsl
Copy link
Collaborator

Hi,

Same UIA element selected issue as in #16346:

Steps to reproduce:

Prerequisite: Windows 11, clipboard should be empty (ideal; if not, clear clipboard history):

  1. Open clipboard history (Windows+V).
  2. Move to navigation menu. If clipboard entries exist, press Shift+Tab, otherwise focus moves to navigation menu when clipboard history opens.
  3. Press left or right arrows to move through navigation menu items.

Actual behavior:

NVDA says "clipboard history" twice.

Expected behavior:

NVDA says "clipboard history" once.

NVDA logs, crash dumps and other attachments:

None

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

alpha-31858,2d865027

Windows version:

Windows 11 23H2 beta (22635.3575)

Name and version of other software in use when reproducing the issue:

None

Other information about your system:

Used as an Insider Preview, results obtained via Event Tracker add-on

Other questions

Does the issue still occur after restarting your computer?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

Reproduced in 2024.1, 2024.2 (alpha/beta) and earlier

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

N/A

Technical information

When moving through navigation menu (housing emoji, symbol, clipboard history, and other entries), gain focus event is fired when moving through entries. However, when clipboard history receives focus, both gain focus and UIA element selected events are fired. The solution is to detect gain focus event and vetoing element selected event if the former event is indeed ready to be handled. A fix is included in Windows App Essentials add-on and a pull request will be part of resolution for #16346 as both of these (and the next issue) deal with UIA element selected event handling for navigation menu items (Automation Id starts with "navigation-menu-item-").

Thanks.

@seanbudd seanbudd added p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority bug/double-speaking platform/Windows11 Issues specific to Windows 11 triaged Has been triaged, issue is waiting for implementation. labels May 13, 2024
josephsl added a commit to josephsl/nvda that referenced this issue May 16, 2024
…event if menu items are gaining focus. Re nvaccess#16532.

Gain focus event is fired by navigation menu itmes if the panel is open to clipboard history, resulting in repetitions (both gain focus and element selected events are fired for clipboard history item). Ignore the element selected event so gain focus event can announce the selected menu item.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/double-speaking p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority platform/Windows11 Issues specific to Windows 11 triaged Has been triaged, issue is waiting for implementation.
Projects
None yet
2 participants