-
Notifications
You must be signed in to change notification settings - Fork 73
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
OS X: Minimization into dock icon #573
Comments
Thanks for reporting this! This looks similar: https://stackoverflow.com/questions/35591319/restore-minimized-app-osx-dock-click-event-pyqt-pyinstaller Is this the same as a "system tray icon"? If so, this might also be relevant: https://doc.qt.io/qt-5.11/qtwidgets-desktop-systray-example.html |
The first link does talk about a similar problem (when the "minimization into icon" is turned off, it creates document-looking windows in the dock when you minimize). The system tray solution is a bit strange, wondering if other QT-based apps have this problem. Keeping a system tray icon for something that doesn't really need to be there doesn't sound like a good idea, especially since you can't hide those on Mac. |
I agree. I thought that it was maybe related. Good to hear that its not. Any idea for a solution? I cannot imagine Pyzo being the first Qt app encountering this problem. |
I am not familiar with Qt, but from some googling it looks like for Mac "hide" and "minimize" mean different things (the former literally hides the window, the latter actually minimizes it, https://forum.qt.io/topic/10204/minimize-application-to-dock-icon, https://stackoverflow.com/questions/44286102/minimize-to-tray-on-macosx). I would look into the documentation on window-related functions, maybe there's a note mentioning unusual behaviour on MacOS. |
To get an idea of the urgency of this issue, what are the exact implications? Are you able to re-open Pyzo after it's minimized? |
I asked because this would need some extra work, involving me getting my hands on a mac :) I will have a look sometime soon. |
I have minimization into icon turned on on my Mac and when I minimize the app, it's not shown in the list of existing windows.
Clicking "Show All Windows" on the icon shows that there are no available windows, but the minimized window appears in the bar for recent files.
The text was updated successfully, but these errors were encountered: