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

[Feature Request] Do not spawn a new instance when running it again #762

Open
barraIhsan opened this issue Mar 5, 2025 · 1 comment
Open

Comments

@barraIhsan
Copy link

barraIhsan commented Mar 5, 2025

What I meant by this is that when trackma (gui) launched the second time even though it's already running, just replace the old one with the new one.

This happened to me a lot when Close to tray turned on, not realizing it's already launched, I launch it again using a menu launcher and it end up having 2 instance of trackma running.

Image

My suggestion is that it should work just like qBittorrent and Discord, if we try to launch it again, it will just raise and show that window (if it's configured to close to tray) instead of spawning a new one

Also related: #676 if it does running as daemon, every gui instance will just connect to that daemon

@z411
Copy link
Owner

z411 commented Mar 14, 2025

This was desired behavior as some people use multiple instances to update several websites as once. That said I feel using a single instance should be the default behavior, and allowing multiple instances could be enabled through a command-line flag or config option.

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

No branches or pull requests

3 participants