Skip to content

[Bug] Archived Sessions Do Not Close Tabs and Reopen Recent Session(归档会话未能关闭标签页,还重新打开最近会话) #35058

Description

@tp20c5

Description

When archiving a session in the opencode desktop application, the tabs associated with the session are not closed automatically. Instead, the most recently used session within the project is unexpectedly reopened. This behavior disrupts workflow and can lead to confusion.

Expected Behavior:

The current session should close, and the session should be hidden from the session history.

Actual Behavior:

The current session does not close. Instead, the most recent session history from the project automatically reopens.

Plugins

OMO

OpenCode version

1.17.13 (but Desktop 1.17.12)

Steps to reproduce

  1. Ensure all sessions within a project folder are closed (no tabs are open).
  2. Create a new session.
  3. Engage in activity within the session (e.g., typing or executing commands).
  4. Upon completion of the session, click the options menu and select "Archive".

确保项目文件夹中的所有会话都处于关闭状态(没有页签打开)。
创建一个新的会话。
在会话中进行活动(例如,输入或执行命令)。
会话完成后,点击选项菜单并选择“归档”。

Screenshot and/or share link

No response

Operating System

Centos7 for opencode serve

Terminal

win10 msedge for WebUI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions