Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tray icon does not disappear after app shutdown #997

Open
scsmash3r opened this issue Oct 29, 2024 · 1 comment
Open

Tray icon does not disappear after app shutdown #997

scsmash3r opened this issue Oct 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working runtime An issue, task, or discussion related to the runtime core windows

Comments

@scsmash3r
Copy link

scsmash3r commented Oct 29, 2024

After compiling to an executable file with [tray] option, tray icon stays in tray menu until hovered. Same behavior with --prod flag.
The icon disappears only when mouse hovering over.

tray_icon_bug.mp4

What OS are you using (uname -a, or Windows version)?

Windows 10 22H2 (64bit)

What version Socket Runtime are you using?

0.6.0-rc.5 (d5637b5) (installed from npm @socketsupply/[email protected])

What programming language are you using (C/C++/Go/Rust)?

rustc 1.82.0 (f6e511eec 2024-10-15)

What did you expect to see and what you saw instead?

Expecting tray icon to disappear when the application is closed.

@scsmash3r
Copy link
Author

Sample index.js code to reproduce:

import application from "socket:application";

const initTrayMenu = async () => {
    const menu = `
    Foo: f
`
    return application.setTrayMenu({
        value: menu
    })
}
const init = async () => {
    await initTrayMenu()
}
init()

@jwerle jwerle self-assigned this Nov 15, 2024
@jwerle jwerle added bug Something isn't working windows runtime An issue, task, or discussion related to the runtime core labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working runtime An issue, task, or discussion related to the runtime core windows
Projects
None yet
Development

No branches or pull requests

2 participants