Permalink Submitted by Nir on Wed, 04/29/2015 - 11:16.
I don't want to trick the user into keeping their client open, but maybe a default minimize instead of close behavior end a message that tells the user the client's been minimized to the tray + an easy way to quit the application when the user actually wants to may not be a bad idea.
Permalink Submitted by Insiteful on Fri, 06/12/2015 - 08:51.
Yes, on Mac, the default for "closing" an application is to minimize it to the dock, not to shut it down. This is one of the basic differences between PC and MAC operating systems. Old habits die hard, and I find myself accidentally "closing" the QT app, instead of minimizing it, on a regular basis. I would appreciate this being corrected (at least in the mac os version), to conform to Mac behavior. Thanks!
Permalink Submitted by Insiteful on Sun, 06/14/2015 - 15:39.
I just downloaded and tested the 6-5 Nightly Build. As promised, when the application is clicked closed (by clicking on the red dot), the QT application correctly Minimizes to the Doc, while remaining active in the background. However, when the icon is again clicked to restore the application to a normal window, nothing seems to happen; the active icon remains in the dock, but the application window does not restore.
Permalink Submitted by Insiteful on Mon, 06/15/2015 - 09:38.
Hello, Nir,
I just downloaded and tested the 6-12 Nightly Build. It minimizes and restores fine. However, the "close" (red) button and the "minimize" (yellow button) exhibit the same behavior; When clicking on either button, an additional icon is placed in the MAC dock. So, there would be the main SoulseekQT icon (showing active running in background) and an additional QT icon with a thumbnail of the current status.
This is behaving the same as, for example, Google Chrome's "minimize" button in Mac. If I have tabs or windows open in Google Chrome, and click on the "Close" (red) button, then all open tabs & windows are closed, and Chrome is minimized to only its' main application icon in the dock, which is running in the background in its startup state. If, in Chrome, I press the "Minimize" (yellow) button, Chrome will add an additional icon to the dock, with all current open tabs still open and active, which can be restored by clicking on either the main application icon OR the minimized icon.
The SoulseekQT 6-12 nightly build is behaving the same as Chrome's "minimize" (yellow) button, for both the "minimize" and "close" clicks, resulting in 2 dock icons. I am not sure whether this is what you had intended. If it is, then it is working fine.
My personal preference would be to keep the same behavior on both the "minimize" and "close" clicks, retaining all open tabs, but have them both minimize to the main QT dock icon, and not create the second QT icon, which is redundant. When restored, the window would include all open tabs as before the minimize.
(of course all of this is assuming that the "Minimize to Tray on Close" option is ticked in Options/UI)
Permalink Submitted by Nir on Mon, 06/15/2015 - 18:38.
I'm not seeing this behavior at all... Is it possible your OSX setup is configured to do this? I get one SoulseekQt icon in the dock and another small in the tray in the top right corner. Maybe it has something to do with an older version that's pinned to your dock?
Permalink Submitted by Insiteful on Mon, 06/15/2015 - 22:56.
FYI I am running OSX 10.10.3. Yes, I have the small icon in the tray top right corner, as well.
UPDATE: You were right, there is an OSX system Dock setting: "Minimize windows into application icon". When that is ticked, the 2nd icon is not created, and the application is minimized to the program dock icon, as you have described. When that option is not ticked, it creates the 2nd icon when minimized. I did not have that option ticked, and that explains the difference in behavior between us. Sorry about that. (D'oh!)
New issue: I noticed that I am unable to quit the application by going to the SoulseekQT menu/Quit SoulseeQT. Again, it minimizes the app to the dock, and does not close the application. The only way to quit the app is to right-click on the small icon on the top-right tray, and quit from there?
Permalink Submitted by Nir on Tue, 06/16/2015 - 15:04.
*sigh* yes, Qt/OSX doesn't appear to differentiate between closing via the red X button and closing via the dock menu option. It appears to be an all or nothing situation. You can always disable minimize on close behavior from the Options->UI tab.
Permalink Submitted by Insiteful on Thu, 06/18/2015 - 21:33.
Again, by way of example, using Google Chrome in Mac OS: The red button minimizes to the dock icon, closes all tabs leaving Chrome in its startup state. The Yellow "minimize" button also minimizes to the dock icon, but leaves all open tabs intact.
-->The Main Menu/Quit, and the context menu in the dock icon both quit the application completely.
So, at least in some other applications, it would appear that OSX does somehow differentiate between the closing via the red X button, and closing via the dock icon's context menu option or the Application's main menu.
As it stands right now, the only way to quit the QT application completely is to right-click on the small status tray icon in the upper right, and choose "Quit". (unless, as you say, the "minimize on close" is disabled from the Options->UI tab.)
Comments
I don't want to trick the
I don't want to trick the user into keeping their client open, but maybe a default minimize instead of close behavior end a message that tells the user the client's been minimized to the tray + an easy way to quit the application when the user actually wants to may not be a bad idea.
Yes, on Mac, the default for
Yes, on Mac, the default for "closing" an application is to minimize it to the dock, not to shut it down. This is one of the basic differences between PC and MAC operating systems. Old habits die hard, and I find myself accidentally "closing" the QT app, instead of minimizing it, on a regular basis. I would appreciate this being corrected (at least in the mac os version), to conform to Mac behavior. Thanks!
The nightly build for OSX
The nightly build for OSX shouldn't close if you click close, in line with this request. Can you verify?
6-5 Nightly Build Minimizes
I just downloaded and tested the 6-5 Nightly Build. As promised, when the application is clicked closed (by clicking on the red dot), the QT application correctly Minimizes to the Doc, while remaining active in the background. However, when the icon is again clicked to restore the application to a normal window, nothing seems to happen; the active icon remains in the dock, but the application window does not restore.
Should be fixed in 6-12
Should be fixed in 6-12
Report: 6-12 Nightly Build
Hello, Nir,
I just downloaded and tested the 6-12 Nightly Build. It minimizes and restores fine. However, the "close" (red) button and the "minimize" (yellow button) exhibit the same behavior; When clicking on either button, an additional icon is placed in the MAC dock. So, there would be the main SoulseekQT icon (showing active running in background) and an additional QT icon with a thumbnail of the current status.
This is behaving the same as, for example, Google Chrome's "minimize" button in Mac. If I have tabs or windows open in Google Chrome, and click on the "Close" (red) button, then all open tabs & windows are closed, and Chrome is minimized to only its' main application icon in the dock, which is running in the background in its startup state. If, in Chrome, I press the "Minimize" (yellow) button, Chrome will add an additional icon to the dock, with all current open tabs still open and active, which can be restored by clicking on either the main application icon OR the minimized icon.
The SoulseekQT 6-12 nightly build is behaving the same as Chrome's "minimize" (yellow) button, for both the "minimize" and "close" clicks, resulting in 2 dock icons. I am not sure whether this is what you had intended. If it is, then it is working fine.
My personal preference would be to keep the same behavior on both the "minimize" and "close" clicks, retaining all open tabs, but have them both minimize to the main QT dock icon, and not create the second QT icon, which is redundant. When restored, the window would include all open tabs as before the minimize.
(of course all of this is assuming that the "Minimize to Tray on Close" option is ticked in Options/UI)
Thanks!
I'm not seeing this behavior
I'm not seeing this behavior at all... Is it possible your OSX setup is configured to do this? I get one SoulseekQt icon in the dock and another small in the tray in the top right corner. Maybe it has something to do with an older version that's pinned to your dock?
That's strange.
FYI I am running OSX 10.10.3. Yes, I have the small icon in the tray top right corner, as well.
UPDATE: You were right, there is an OSX system Dock setting: "Minimize windows into application icon". When that is ticked, the 2nd icon is not created, and the application is minimized to the program dock icon, as you have described. When that option is not ticked, it creates the 2nd icon when minimized. I did not have that option ticked, and that explains the difference in behavior between us. Sorry about that. (D'oh!)
New issue: I noticed that I am unable to quit the application by going to the SoulseekQT menu/Quit SoulseeQT. Again, it minimizes the app to the dock, and does not close the application. The only way to quit the app is to right-click on the small icon on the top-right tray, and quit from there?
*sigh* yes, Qt/OSX doesn't
*sigh* yes, Qt/OSX doesn't appear to differentiate between closing via the red X button and closing via the dock menu option. It appears to be an all or nothing situation. You can always disable minimize on close behavior from the Options->UI tab.
Again, by way of example,
Again, by way of example, using Google Chrome in Mac OS:
The red button minimizes to the dock icon, closes all tabs leaving Chrome in its startup state.
The Yellow "minimize" button also minimizes to the dock icon, but leaves all open tabs intact.
-->The Main Menu/Quit, and the context menu in the dock icon both quit the application completely.
So, at least in some other applications, it would appear that OSX does somehow differentiate between the closing via the red X button, and closing via the dock icon's context menu option or the Application's main menu.
As it stands right now, the only way to quit the QT application completely is to right-click on the small status tray icon in the upper right, and choose "Quit". (unless, as you say, the "minimize on close" is disabled from the Options->UI tab.)
good information and by
good information and by chance I was looking for that information.
http://cookpad.blog.com/
http://tempatmasakanku.weebly.com/
http://rajamasak.jimdo.com/