Page 1 of 1

Minimize on X close

Posted: 16 Aug 2007 11:03
by ugus
A little bug found...?

If I have the Minimize on X close enabled.

When closing XY with the X button it minimizes to tray.

Exits the application with Exit (on systray menu)

When I restart XYplorer I want to have it in the last window state before I minimized it to the tray. Now it restarts minimized.

Re: Minimize on X close

Posted: 16 Aug 2007 14:36
by admin
ugus wrote:When I restart XYplorer I want to have it in the last window state before I minimized it to the tray. Now it restarts minimized.
XYplorer does not care about what you want! :P It conforms to the rules, and the rules say: start in the same window state as closed. I see no bug here.

Re: Minimize on X close

Posted: 16 Aug 2007 15:07
by ugus
admin wrote:
ugus wrote:When I restart XYplorer I want to have it in the last window state before I minimized it to the tray. Now it restarts minimized.
XYplorer does not care about what you want! :P It conforms to the rules, and the rules say: start in the same window state as closed. I see no bug here.
But it does not start in tray (which it was before exiting) it starts minimized in taskbar. Is this following the rules :wink:

Re: Minimize on X close

Posted: 16 Aug 2007 15:18
by admin
ugus wrote:
admin wrote:
ugus wrote:When I restart XYplorer I want to have it in the last window state before I minimized it to the tray. Now it restarts minimized.
XYplorer does not care about what you want! :P It conforms to the rules, and the rules say: start in the same window state as closed. I see no bug here.
But it does not start in tray (which it was before exiting) it starts minimized in taskbar. Is this following the rules :wink:
Aaaah... okay... :roll:

Re: Minimize on X close

Posted: 16 Aug 2007 15:27
by j_c_hallgren
ugus wrote:But it does not start in tray (which it was before exiting) it starts minimized in taskbar. Is this following the rules :wink:
I'd also expect an appl that was last open just in tray to either restart as such -or- restart maximized, as I've seen others do...I'd be more inclined to have it be in tray...but to restart in taskbar, that's not what I'd expect, so I'll agree with ugus on this for now (as I haven't yet tried it myself)

Posted: 16 Aug 2007 15:36
by ugus
Well...

* Either XY should start in the last windows state before it was minimized with X button
* Or just start it minimized to tray, and when the user click on Restore it get the correct window state.

(I should prefer the first one...)

Posted: 16 Aug 2007 21:05
by lukescammell
The downside with starting in the tray (even if it was closed from there) is that someone may not notice that XY has actually started.

And how about this for an argument for not starting up in the tray? If I am starting up XY, it is because I want to use it then and there, not "oh I'll fire it up and not use it for a few minutes". If that were the case I could just fire it up in a few minutes ;)

Posted: 16 Aug 2007 21:41
by admin
lukescammell wrote:The downside with starting in the tray (even if it was closed from there) is that someone may not notice that XY has actually started.

And how about this for an argument for not starting up in the tray? If I am starting up XY, it is because I want to use it then and there, not "oh I'll fire it up and not use it for a few minutes". If that were the case I could just fire it up in a few minutes ;)
I'm with you 100%! But I vaguely remember that people could somehow convince me to start up in tray when closed in tray. Or...?? (too lazy to look it up...)

Posted: 16 Aug 2007 22:59
by mwb1100
admin wrote: But I vaguely remember that people could somehow convince me to start up in tray when closed in tray. Or...?? (too lazy to look it up...)
There was some discussion about this here: http://www.xyplorer.com/xyfc/viewtopic.php?t=1534

Here's a suggestion for everyone out there who wants XY to start with a normal window even when it was closed from the tray before: create a shortcut or command alias with the "/win=normal" command line option. That's how mine was (an alias in QuickRun: XY -> xyplorer.exe /win=normal), so I never noticed the behavior of it starting in the tray.

So now I have XY always running...

1) a startup menu shortcut makes sure it starts minimized to the tray when I logon,
2) XY won't close (instead going to the tray) unless I really, really want it to,
3) and if I start it by command I get a normal window.

Who could ask for more?

Re: Minimize on X close

Posted: 17 Aug 2007 08:09
by admin
ugus wrote:But it does not start in tray (which it was before exiting) it starts minimized in taskbar. Is this following the rules :wink:
Fixed.

Re: Minimize on X close

Posted: 17 Aug 2007 09:20
by ugus
admin wrote:
ugus wrote:But it does not start in tray (which it was before exiting) it starts minimized in taskbar. Is this following the rules :wink:
Fixed.
Thanks! :)