Skip to content

Windows 11 clipboard history: focus gets stuck in input experience window when clipboard history closes #16347

@josephsl

Description

@josephsl

Hi,

Related to #16346:

Background

NVDA supports Windows 10 and 11 clipboard history. Unlike Windows 10, Windows 11 moves system focus to history items when clipboard history opens. However, when clipboard history closes, NVDA gets stuck in input expeirence window element.

Steps to reproduce:

Prerequisite: Windows 11 required.

  1. Open a document or an edit field (let's use Notepad for simplicity).
  2. Type and copy text.
  3. Press Windows+V to open clipboard history.
  4. Use the arrow keys to review clipboard history entries.
  5. Press Escape to close clipboard history window.

Actual behavior:

NVDA says "input experience window" and focus gets stuck whereas system focus is somewhere else.

Expected behavior:

NVDA reports previously focused app/control.

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

alpha-31515,38efb1cf

Windows version:

Windows 11 23H2 beta (build 22635.2420)

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

Other information about your system:

Used as a development workstation

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.

Yes - reproducible in 2023.x and 2024.1 RC

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?

Not applicable

Additional information

For this one, focus redirection may need to be done after noticing that NVDA's idea of focused element is indeed input experience window once clipboard history closes. A fix is implemented in Windows App Essentials add-on.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p4https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions