OS:
W7 Enterprise
GPMDP Version:
4.6.1
Issue Descriptions:
Steps to Reproduce:
Proposed solution:
Proposed behavior:
m2t off, c2t off
Minimize: Minimize to taskbar icon, no tray icon shown at any point
Close: Close application
m2t on, c2t off
Minimize: Minimize to tray, remove taskbar icon
Close: Close application
m2t on, c2t on
Minimize: Minimize to tray, remove taskbar icon
Close: Minimize to tray, remove taskbar icon
m2t off, c2t on
Not selectable
Minimize to tray takes affect when you click through close button
Yes, the application does 'minimize to tray' - but it is not in the tray, only the taskbar icon disappears. Alt tab and you can bring the app back which should not be possible when truly in the tray.

In toggleMainWindow you have this:
global.wasMaximized = Settings.get('maximized', false);
win.minimize();
if (WindowManager.getWindowManagerName() === 'i3') {
win.hide();
}
// Hide to tray, if configured
if (Settings.get('minToTray', true)) {
win.setSkipTaskbar(true);
}
I'm not sure what i3 would be as a Window manager, but assuming it is not for a Windows base and minToTray is true the app gets minimized, and setSkipTaskbar is called with true (removing the taskbar icon) - but the app is still only minimized. I believe there should be a further win.hide() to hide the window as is it now in the tray only.
Edit:
Found the old issue where something similar has cropped up before
I agree the minimize animation is nice, but I think it is breaking the behavior of the application, can we minimize and then hide in all cases?
if (Settings.get('minToTray', true)) {
win.setSkipTaskbar(true);
win.hide();
}
@MarshallOfSound , not sure if you will still get notifications for this or not, found one more issue though

This is the AltTab view (the one where I believe the window should not be shown when in the tray), the app is still selectable and will come to into focus, but because it has not been restored properly the taskbar icon is not displayed.
This problem is still relevant.