Skip to content

[Bug]: Tab switching shortcuts do not work in remote server mode until a tab is clicked #12665

Description

@liujiayi771

Operating system

macOS 27.0 Beta (26A5388g)

Orca version

1.4.169

Details

Short summary

In remote server mode, the keyboard shortcuts for switching to the previous or next tab do not work initially. The shortcuts only start working after switching tabs once with the mouse.

What happened?

I customized the tab-switching shortcuts as follows:

  • Previous/left tab: Cmd+Left Arrow
  • Next/right tab: Cmd+Right Arrow

Immediately after connecting in remote server mode, pressing either shortcut does nothing. After I switch tabs once by clicking a tab with the mouse, both shortcuts start working normally.

How can we reproduce it?

  1. Configure the shortcuts for switching to the previous and next tab as Cmd+Left Arrow and Cmd+Right Arrow.
  2. Start Orca in remote server mode and connect to the remote server.
  3. Open at least two tabs.
  4. Before clicking a tab with the mouse, press Cmd+Left Arrow or Cmd+Right Arrow.
  5. Observe that the active tab does not change.
  6. Click another tab with the mouse once.
  7. Press the keyboard shortcuts again and observe that they now work.

Expected behavior

The configured shortcuts should switch tabs immediately after connecting in remote server mode, without requiring any mouse interaction.

Actual behavior

The shortcuts are ignored until a tab has been selected with the mouse once.

Additional context

This looks like the tab-switching shortcut handler or tab focus state may not be initialized until the first mouse-based tab selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    os:macosIssues affecting macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions