Page 1 of 2
Ask to confirm when closing
Posted: 09 Sep 2008 11:23
by ivan
I hope a lot of us can agree that XYplorer is like Firefox of file management software. It's tabbed, light on resources, lots of customizing is possible etc
One thing I like about Firefox is if I accidentally press X (top right-hand corner), it will ask me if I really want to close and provide options if I do. Would it be possible for XY to have the same (optional, tickbox-in-config-disabled-by-default) prompt? Since XY doesn't save the tree structure on exit, then it can end up being a PITA to recreate things.
Thank you in advance.
Re: Ask to confirm when closing
Posted: 09 Sep 2008 16:27
by j_c_hallgren
ivan wrote:Would it be possible for XY to have the same (optional, tickbox-in-config-disabled-by-default) prompt?
This feature is found in a wide varierty of applications, and in some, I use it, and others I don't, so having this doesn't seem to be an unreasonable request...there seems to be enough room on the "Startup & Exit" tab for this.
I don't see it as a priority item but as something that could be done when in that area of code.
Re: Ask to confirm when closing
Posted: 10 Sep 2008 13:58
by ReviewPilot
Offtopic but maybe one of u guys knows: A workmate always cries out loud when he, again, accidently closed his Outlook 2003. This program also does not seem to have such an option. He always has many mails open he is working on.
Are there solutions?
Re: Ask to confirm when closing
Posted: 10 Sep 2008 14:30
by admin
ReviewPilot wrote:Offtopic but maybe one of u guys knows: A workmate always cries out loud when he, again, accidently closed his Outlook 2003. This program also does not seem to have such an option. He always has many mails open he is working on.
Are there solutions?
By the same logic you could insert an "Are you sure?" before any command.
Re: Ask to confirm when closing
Posted: 10 Sep 2008 14:42
by ivan
admin wrote:By the same logic you could insert an "Are you sure?" before any command.
I think that's a bit over the top and, with "Undo" option in the works, that won't be a problem. However, doing something radical like closing the app is significantly different so a bit of safety net would be nice. I know there is an option to minimize to tray but when you actually do want to close it then you should be able to

Re: Ask to confirm when closing
Posted: 10 Sep 2008 14:44
by ReviewPilot
admin wrote:ReviewPilot wrote:Offtopic but maybe one of u guys knows: A workmate always cries out loud when he, again, accidently closed his Outlook 2003. This program also does not seem to have such an option. He always has many mails open he is working on.
Are there solutions?
By the same logic you could insert an "Are you sure?" before any command.
I know. I also dislike this feature.
But there may be some processes which are started once a session, and it does no harm to have such an option there, especially if it can save u several minutes re-configuring any unwanted closed tabs or whatever.
I admit, if i had a "Are you sure?" with every tab-change, I'd be mad right now

Re: Ask to confirm when closing
Posted: 10 Sep 2008 14:47
by ReviewPilot
ivan wrote:I know there is an option to minimize to tray but when you actually do want to close it then you should be able to

hmm, if there's such an option, that's really nice.
You can set it to
on to be save, and when u wish to close, couldn't you Alt-F4 or RMB-close on taskbar ?
still would like to know if there are program-independent workarounds for the promt close behaviour like in Outlook..
Re: Ask to confirm when closing
Posted: 10 Sep 2008 14:55
by admin
ReviewPilot wrote:...it does no harm to have such an option there, especially if it can save u several minutes re-configuring any unwanted closed tabs or whatever.
Every option that's not sufficiently justified does harm. I'm preaching this since years...

from the user perspective, options are not the solution but a problem. Every option is a task more to do. I'm not in the business of increasing work.
And, "unwanted closed tabs"? So you have
Save Settings On Exit turned off?
Re: Ask to confirm when closing
Posted: 10 Sep 2008 14:59
by ivan
My main 2 reasons are:
1. Accidental clicking of X especially when you have several windows overlaying.
2. No option to save the tree upon exiting.
If 2 was to be implemented then I wouldn't mind 1 so much

Re: Ask to confirm when closing
Posted: 10 Sep 2008 15:09
by TheQwerty
I'm not saying this shouldn't be implemented, nor am I saying it should.
But if you're just trying to prevent accidental closings why not enable "Minimize to tray on X close" so that you'll have to actively exit XY via a less accident prone method?
Re: Ask to confirm when closing
Posted: 10 Sep 2008 15:13
by admin
I added a tweak:
Code: Select all
+ INI-Tweak to insert prompt on XClosing the app.
[Settings]
PromptOnXClose=1
Set to 1 to get nagged by an "Exit XYplorer now?" prompt.
Re: Ask to confirm when closing
Posted: 10 Sep 2008 15:15
by ivan
TheQwerty wrote:But if you're just trying to prevent accidental closings why not enable "Minimize to tray on X close" so that you'll have to actively exit XY via a less accident prone method?
For now, that's exactly what I did but, in tandem with saving the tree, it would be great to get a prompt.
Re: Ask to confirm when closing
Posted: 10 Sep 2008 15:59
by j_c_hallgren
admin wrote:I added a tweak:
Code: Select all
+ INI-Tweak to insert prompt on XClosing the app.
[Settings]
PromptOnXClose=1
Set to 1 to get nagged by an "Exit XYplorer now?" prompt.
That's a perfectly adequate solution, IMO.
Re: Ask to confirm when closing
Posted: 10 Sep 2008 16:16
by ivan
j_c_hallgren wrote:That's a perfectly adequate solution, IMO.
I'm having problems adding that tweak.
"Save settings on exit" ticked:
Exited XY, opened INI, added tweak in appropriate section, saved INI, started XY, tried to close and succeeded with no pop up showing, checked INI and tweak was gone.
"Save settings on exit" unticked:
Exited XY, opened INI, added tweak in appropriate section, saved INI, started XY, tried to close and succeeded with no pop up showing, checked NIN and tweak is still there.
I'm kinda lost here...

Re: Ask to confirm when closing
Posted: 10 Sep 2008 16:25
by j_c_hallgren
ivan wrote:I'm having problems adding that tweak.
I'm kinda lost here...

Well, if you looked at the time when Don made post above and compared that to time of last Beta (approx 3 hrs diff), you'd see that this tweak will be in
next release most likely, since there is
no mention of it in the Beta thread change log, ok?
He made the pre-release annoncement to you here so you know it's being addressed.