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

Arch Linux - GUI; Closing app window does not exit program #157

Open
Howarddj opened this issue May 13, 2024 · 4 comments
Open

Arch Linux - GUI; Closing app window does not exit program #157

Howarddj opened this issue May 13, 2024 · 4 comments

Comments

@Howarddj
Copy link

When using the GUI on arch linux, everything works perfectly except for closing the app.
if i close the app using the X in the top right hand corner it closes the window but leaves the app running in the background, which prevents me from reopening the app again until i restart the machine, stating the " another instance is already running"
using the "exit" tab in the GUI closes the app correctly and allows me to reopen it again.

is this something that can be fixed?

@4JX
Copy link
Owner

4JX commented May 13, 2024

This is intended behavior to keep the program running in the background without a GUI window. You should have an icon on your tray to close the program if needed.

In the case that anything goes wrong while creating the tray icon the program is coded to instead just close as normal once you press on the "X" in the window.

Worst case scenario though, why not just kill the process instead of restarting your whole machine?

@Howarddj
Copy link
Author

ah, that make sense.
i guess because gnome doesn't normally support system tray icons there is something going wrong with creating one, even though i am using an extension to bring back the system tray to gnome.
either way it isn't a major issue as i can just use the exit tab to close the app with no issues.
thank you for the quick response and clarification, much appreciated.

@4JX
Copy link
Owner

4JX commented May 13, 2024

i guess because gnome doesn't normally support system tray icons there is something going wrong with creating one, even though i am using an extension to bring back the system tray to gnome.

Which one?

I guess it's only kind-of-failing but not enough for the program to realize and switch behaviors. I could switch back to a GTK based implementation as it was better behaved, but that adds quite the list of deps for something so "unrelated".

@Howarddj
Copy link
Author

https://extensions.gnome.org/extension/2890/tray-icons-reloaded/

I'm using tray icons : reloaded. I can always try another extension though

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

2 participants