Skip to content

Tray icon only works once #1

@akaihola

Description

@akaihola

When I run scribe --app and click on the tray icon, recording starts, the icon shape changes, and the microphone icon appears.

When I click on it again, recording stops with INFO:scribe:Exit. on the terminal, but the icon doesn't change back. The microphone icon does disappear.

After that, the tray icon no longer reacts to clicks.

I let OpenCode and GLM-4.7 work on this problem, and they came up with the solution in the fix/tray-toggle-recording branch of my fork. I didn't want to open a pull request not knowing your policy on AI generated code. Also I haven't fully studied the code and reviewed the change, but it does fix the problem.

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