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

System Tray icon is not getting removed immediately after "app.exit(0)". Its getting removed on hover. #5533

Closed
shanu-mol opened this issue Nov 3, 2022 · 4 comments

Comments

@shanu-mol
Copy link

shanu-mol commented Nov 3, 2022

CPT2211031124-245x157

I have added Gif file.
When I click Quit from System Tray handler the code executed is :- app.exit(0)
image

OS : Windows 10
tauri = { version = "1.1.1", ... }

@FabianLars
Copy link
Sponsor Member

Fixed in #5245, will be available with v1.2 (no ETA yet, but should be fairly soon)

@wkl007
Copy link

wkl007 commented Dec 5, 2022

12.5.mp4

tauri 1.2.1 still have this problem,please help us @FabianLars

https://github.com/wkl007/tauri-plugin-single-instance/blob/dev/examples/emit-event/src-tauri/Cargo.toml

@amrbashir
Copy link
Member

amrbashir commented Dec 5, 2022

@wkl007 thanks for the report, the released fix was for the rust side, I will open a PR shortly for the JS side.

Edit: #5765

@wkl007
Copy link

wkl007 commented Dec 5, 2022

Thank you very much @amrbashir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants