Ask to confirm when closing
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Ask to confirm when closing
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.
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.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Ask to confirm when closing
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.ivan wrote:Would it be possible for XY to have the same (optional, tickbox-in-config-disabled-by-default) prompt?
I don't see it as a priority item but as something that could be done when in that area of code.
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.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
Re: Ask to confirm when closing
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?
Are there solutions?
check out this guys work - xkcd webcomics
-
admin
- Site Admin
- Posts: 66305
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Ask to confirm when closing
By the same logic you could insert an "Are you sure?" before any command.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?
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Ask to confirm when closing
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 toadmin wrote:By the same logic you could insert an "Are you sure?" before any command.
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
Re: Ask to confirm when closing
I know. I also dislike this feature.admin wrote:By the same logic you could insert an "Are you sure?" before any command.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?
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
check out this guys work - xkcd webcomics
-
ReviewPilot
- Posts: 150
- Joined: 27 Jul 2007 09:21
- Location: Germany
Re: Ask to confirm when closing
hmm, if there's such an option, that's really nice.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
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..
check out this guys work - xkcd webcomics
-
admin
- Site Admin
- Posts: 66305
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Ask to confirm when closing
Every option that's not sufficiently justified does harm. I'm preaching this since years...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.
And, "unwanted closed tabs"? So you have Save Settings On Exit turned off?
FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Ask to confirm when closing
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
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
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
TheQwerty
- Posts: 4373
- Joined: 03 Aug 2007 22:30
Re: Ask to confirm when closing
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?
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?
-
admin
- Site Admin
- Posts: 66305
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Ask to confirm when closing
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.FAQ | XY News RSS | XY X
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Ask to confirm when closing
For now, that's exactly what I did but, in tandem with saving the tree, it would be great to get a prompt.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?
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Ask to confirm when closing
That's a perfectly adequate solution, IMO.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.
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.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
ivan
- Posts: 577
- Joined: 02 Apr 2008 12:52
- Contact:
Re: Ask to confirm when closing
I'm having problems adding that tweak.j_c_hallgren wrote:That's a perfectly adequate solution, IMO.
"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...
Windows Vista Business SP1 32-bit, Logitech MX400 mouse, SetPoint 4.60.122


-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Ask to confirm when closing
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?ivan wrote:I'm having problems adding that tweak.
I'm kinda lost here...
He made the pre-release annoncement to you here so you know it's being addressed.
Last edited by j_c_hallgren on 10 Sep 2008 16:27, edited 1 time in total.
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.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
XYplorer Beta Club