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

Quit hides, exit quits, on MacOS #111

Open
metaclam opened this issue Oct 7, 2024 · 3 comments
Open

Quit hides, exit quits, on MacOS #111

metaclam opened this issue Oct 7, 2024 · 3 comments
Assignees
Labels
bug Something isn't working os:mac
Milestone

Comments

@metaclam
Copy link

metaclam commented Oct 7, 2024

Quit simply hides the app on MacOS 15.0.1. In my case it miniaturizes to the dock icon. You must go to Torrent menu > exit to actually quit.

This is a minor annoyance only; especially if you restart the Mac, transgui will not quit and interrupts restart.

@lighterowl lighterowl self-assigned this Jan 24, 2025
@lighterowl lighterowl added the bug Something isn't working label Jan 24, 2025
@lighterowl lighterowl added this to the 5.18.8 milestone Jan 24, 2025
@lighterowl
Copy link
Owner

Hi there, thanks for the report.

You'll have to help me out here though as I couldn't reproduce it with the latest build (https://github.com/lighterowl/transgui/actions/runs/12964723663) and MacOS 15.2. Here's a screencap of what I've tried :

foo.mp4

In my case, Hide actually hides , Quit/Exit actually quits, and Transgui doesn't seem to interrupt restart as the machine restarts as expected.

@lighterowl
Copy link
Owner

Ok, I know what this is about : the behaviour you're describing takes place when Close to tray is checked in Application options -> Advanced.

I'm not a Mac user so I don't have any ideas on what could be done to improve this, is "closing to tray" common on MacOS at all? Perhaps this shouldn't be an option to begin with. Let me know what you think.

@metaclam
Copy link
Author

Thx for looking into it. A "tray" isn't really a thing, but there's a "dock". So "Close to Tray" seems to mean in this case, the close button on the window itself will minimize the app's main window to the dock, instead of quitting the application. On most Mac apps that is not expected behavior, the window should close but the app remains running.

You are right that unchecking that means the CMD-Q or Quit from the Application menu, will quit the app as expected and allow a restart (I assume, have not tested restart but it does quit). However, it also means that clicking the close button on the window quits the application, which it shouldn't do.

Either state of that button, the minimize button on the window (the center button) minimizes to the dock as expected. So personally i can live with that non-standard close button with close to tray disabled. If you could fix that, you could leave the "close to tray" state off and remove from GUI and all would be normal Mac behavior.

one other note: most mac apps where you can close the main window would have a "Window" menu with an option to "Show Main Window" or some such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working os:mac
Projects
None yet
Development

No branches or pull requests

2 participants