You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Desktop: window/taskbar title should show the current project (and session) name #51442
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Context
OpenCode Desktop (Windows). When several windows are open, every window/taskbar entry is titled "OpenCode", making it impossible to tell projects apart.
Root cause packages/desktop/src/main/windows.ts creates the BrowserWindow with a hardcoded title: "OpenCode". There is no dynamic title path in the desktop package: no setTitle IPC/preload hook and no document.title update in the renderer (verified across packages/desktop/src). This is still the case on dev/v1.18.32.
Requested behavior
The OS window/taskbar title should reflect the active context and update when it changes:
Default format: <Project name>
With a named session: <Session name> - <Project name>
Fallback: OpenCode when no project/session is active
For reference, the TUI already sets a dynamic terminal title (oc | <session title>, commit 3ec34ee); it would be consistent to include the project name there too.
Benefit
Multiple concurrent windows become distinguishable in the Windows taskbar and window switcher.
+1 — this would also unlock automatic time tracking.
Use case: time trackers like ActivityWatch (and similar: ManicTime, Tockler)
classify activity by the active window title. Right now every OpenCode Desktop
window is just "OpenCode", so all work time falls into one generic bucket and
it's impossible to see time spent per project.
A title like OpenCode — <project> — <session> would be enough for
ActivityWatch window-title rules to assign time to the right project
automatically. Ideally make the template configurable (title_template in
config) — that would also cover #31423 (auto-closed by stale bot, never
implemented).
Thanks for the detailed write-up! This report is about OpenCode Desktop v1 (v1.18.32, packages/desktop/src/main/windows.ts). v1 now only gets fixes for critical bugs such as crashes, data loss or security problems, so this is unlikely to change there.
We'd encourage upgrading to v2 (the @opencode/cli package / the current Desktop app). v2 already does part of this: the app sets the page title to <session title> · OpenCode when a session has a title and OpenCode otherwise. The Desktop window uses that page title, so the window and taskbar entries should show the session name. The project name isn't in the title yet.
If you think this is critical, or you still can't tell windows apart on v2 (for example because you want the project name in the title), please reply here with your v2 version and what you see.
Closing this as not planned. It's a feature request for OpenCode Desktop v1 (v1.18.32), and v1 only gets fixes for critical bugs. In v2, the Desktop window and taskbar title should already follow the session title (<session title> · OpenCode), but the project name isn't included yet. If you try v2 and still need the project name in the title, please open a new issue with your v2 version and what you see. Thanks for the detailed report!
Activity
github-actions commentedon Sep 26, 2026
This issue might be a duplicate of existing issues. Please check:
cep207 commentedon Sep 29, 2026
+1 — this would also unlock automatic time tracking.
Use case: time trackers like ActivityWatch (and similar: ManicTime, Tockler)
classify activity by the active window title. Right now every OpenCode Desktop
window is just "OpenCode", so all work time falls into one generic bucket and
it's impossible to see time spent per project.
A title like
OpenCode — <project> — <session>would be enough forActivityWatch window-title rules to assign time to the right project
automatically. Ideally make the template configurable (
title_templateinconfig) — that would also cover #31423 (auto-closed by stale bot, never
implemented).
opencodejr commentedon Oct 28, 2026
Thanks for the detailed write-up! This report is about OpenCode Desktop v1 (v1.18.32,
packages/desktop/src/main/windows.ts). v1 now only gets fixes for critical bugs such as crashes, data loss or security problems, so this is unlikely to change there.We'd encourage upgrading to v2 (the
@opencode/clipackage / the current Desktop app). v2 already does part of this: the app sets the page title to<session title> · OpenCodewhen a session has a title andOpenCodeotherwise. The Desktop window uses that page title, so the window and taskbar entries should show the session name. The project name isn't in the title yet.Related items you mentioned:
If you think this is critical, or you still can't tell windows apart on v2 (for example because you want the project name in the title), please reply here with your v2 version and what you see.
opencodejr commentedon Oct 29, 2026
Closing this as not planned. It's a feature request for OpenCode Desktop v1 (v1.18.32), and v1 only gets fixes for critical bugs. In v2, the Desktop window and taskbar title should already follow the session title (
<session title> · OpenCode), but the project name isn't included yet. If you try v2 and still need the project name in the title, please open a new issue with your v2 version and what you see. Thanks for the detailed report!