Skip to content

[macOS Apple Silicon] Multiple SSH sessions make session windows/tabs un-switchable #421

Description

@sammyjason39

Will you contribute a fix?

Yes — I plan to open a pull request

Bug Summary

When I open multiple SSH sessions on macOS Apple Silicon, the Termul window/session UI starts bugging and I cannot switch to other SSH session windows/tabs anymore. The broken state persists after it starts.

Expected behavior: I should be able to open multiple SSH sessions and switch between SSH sessions normally.

Actual behavior: after multiple SSH sessions are opened, the UI/window state becomes stuck or corrupted, and switching to other SSH sessions no longer works.

Steps to Reproduce

  1. Open Termul Manager on macOS Apple Silicon.
  2. Create or open one SSH session.
  3. Create or open a second SSH session.
  4. Try switching between the SSH sessions/windows/tabs.
  5. Observe that switching fails or the window/session UI becomes stuck.
  6. Continue using the app or reopen the affected SSH session.
  7. Observe that the broken state persists.

Environment

  • OS: macOS Apple Silicon
  • Chip: Apple Silicon
  • Termul version: v.0.4.8
  • Install method: dmg installation
  • Build architecture: aarch64 / Apple Silicon
  • SSH target type: multiple SSH sessions

Logs, Errors, or Screenshots

Logs/screenshots not attached yet.

Termul macOS log path:

~/Library/Logs/com.termul-manager.app/termul.log

If reproducing from source, include terminal output from:

bun run dev

Additional Context

This appears to be macOS Apple Silicon specific. It happens when multiple SSH sessions are opened and affects switching/focusing other SSH session windows/tabs.

This may be related to one of these areas:

  • SSH session lifecycle/state management
  • workspace pane/tab active-session state
  • native window/webview focus behavior on macOS
  • session persistence/restoration after multiple SSH sessions

Related but not duplicate issues found during preflight:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions