Skip to content

Rune GUI window freezes and becomes uncloseable when terminal process is stopped/suspended #100

Closed

Description

@Spandan-Mishra

What happened

When launching Rune from a terminal (./bin/rune), stopping or suspending the process from the terminal (e.g. with Ctrl+Z or closing/disconnecting the terminal) causes the Rune GUI window to freeze permanently on the desktop.

The frozen window cannot be interacted with, does not respond to mouse clicks, and ignores window manager shortcuts (such as Super+W or Alt+F4). Running ps aux reveals the Rune process enters state Tl (stopped by job control), completely freezing the GUI event loop. The only way to close the window is to manually locate the PID and run kill -9 <PID>.

Additionally, when Rune is terminated this way, spawned extension processes (rune-agent, extension_python, extension_go, etc.) remain orphaned in the background.

What you expected

  1. Suspending or terminating the terminal process should not leave an unresponsive zombie GUI window on the desktop. Either terminal signals (SIGTSTP/SIGINT/SIGHUP) should be handled gracefully or cleanly shut down the GUI and terminate child extension processes.
  2. A clear, documented global shortcut to cleanly quit Rune (e.g., Ctrl+Q or Super+Q) without requiring the command palette (:quit) or hunting for PIDs.

Steps to reproduce

  1. Launch Rune from a terminal: ./bin/rune
  2. Switch focus back to the terminal and press Ctrl+Z (or attempt to interrupt/stop the process).
  3. Switch back to the Rune window (or switch to its virtual workspace).
  4. Attempt to close or interact with the window (clicking the close button, pressing Super+W, Esc, or typing).

Observed:
The window is completely frozen and cannot be closed or focused. Checking ps aux | grep rune shows ./bin/rune in Tl state along with running child extension processes.

Area

GUI and rendering

Rune version

Rune v1.2.1-28-gc1e83721

OS and architecture

Linux x86_64 (Wayland / X11)

Shell

bash 5.3

Logs, crash report, or screenshots

$ ps aux | grep -i rune
spandev  651062 42.9  6.4 8761484 1044360 pts/3 Tl   17:29  10:26 ./bin/rune
spandev  651425  0.0  0.2 2040848   33572 pts/3 Sl   17:29   0:00 /home/spandev/.rune/bin/rune-agent
spandev  651434  0.0  0.1 2020868   28248 pts/3 Sl   17:29   0:00 /home/spandev/.rune/bin/extension_python
spandev  651441  0.0  0.1 2172560   31136 pts/3 Sl   17:29   0:00 /home/spandev/.rune/bin/extension_go

Relevant configuration

Checks

  • I searched existing issues and this is not a duplicate.
  • I can reproduce this on the latest released version.

Activity

  1. added
    bug
    on Sep 18, 2026
  2. JoeJoeflyn commented on Sep 18, 2026

    @JoeJoeflyn
    Contributor

    working on this

  3. added 2 commits that reference this issue on Sep 21, 2026
    522b25e
    49efac1
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions