Minimize on X close

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Minimize on X close

Post 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.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minimize on X close

Post 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.

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Re: Minimize on X close

Post 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:

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minimize on X close

Post 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:

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Minimize on X close

Post 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)
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Post 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...)

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post 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 ;)
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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...)

mwb1100
Posts: 213
Joined: 19 May 2007 06:20

Post 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?

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Minimize on X close

Post 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.

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Re: Minimize on X close

Post 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! :)

Post Reply