Skip to content

Feature: close to system tray on Windows #223

Description

@goujandev

MonoCode version

0.1.45

Operating system

Windows

OS version

Windows 11

Provider CLI

Multiple / not sure

What happened

On Windows, closing a MonoCode window quits the app and kills any agent still mid-turn. Minimising keeps them alive but leaves the window sitting on the taskbar, so there's no way to put the app out of the way and let work carry on in the background.

I think closing should hide to the system tray instead, with a setting to turn it off for anyone who wants close to mean close. Windows only, macOS already reopens from the dock, and I can't test Linux.

Already have working code for this so I'll link a PR below. Totally fine if you'd rather it done differently, or just not have it at all.

Steps to reproduce

  1. On Windows, start a turn in any provider so an agent is running
  2. Close the window with the X
  3. The app exits and the agent is killed, the only way to keep it running is to leave the window open on the taskbar

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions