Skip to content

[Bug]: [Browser] Cmd+W closes the opener instead of a newly opened link tab #18832

Closed

Description

@hwantage

Operating system

macOS

Orca version

v1.4.197

Details

Summary

A link can open and visually activate a new Orca browser tab while keyboard focus remains with the original tab. Pressing Cmd+W then closes the opener instead of the newly opened tab.

The problem was observed after directly opening a link in a new tab and after choosing Open Link In Orca Browser from a link's context menu. An image link was the initial example, but the issue concerns new-tab focus rather than image rendering.

Repro

A. Direct link opening

  1. Open a page in an Orca browser tab containing a link with target="_blank".
  2. Click the link so it opens in a new Orca browser tab.
  3. Without clicking inside the destination page, press Cmd+W.

B. Context-menu link opening

  1. Open a page containing a link in an Orca browser tab.
  2. Right-click the link.
  3. Choose Open Link In Orca Browser.
  4. Without clicking inside the destination page, press Cmd+W.

C. Command-click link opening

  1. Open a page containing a link in an Orca browser tab.
  2. Hold Command (⌘) and click the link to open it in a new Orca browser tab.
  3. Release Command. Without clicking inside the destination page, press Cmd+W.

Actual: The original tab closes, while the newly opened tab remains open.

Expected: Keyboard focus follows the newly activated tab. Cmd+W closes that tab and leaves the opener open.

Image

Workaround

Use the destination tab's close button instead of the keyboard shortcut.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    browserbugSomething isn't workingos:macosIssues affecting macOS

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions