Closed without saving the tab with the necessary data for 3 months.
-
Personally, I’d rather put the warning on the Enable session snapshot and periodic backup checkbox.
Anytime someone tries to change it from unchecked to checked, pop up a big ol’ warning:
Are you sure you want to enable the ability to lose your data without warning just for the convenience of not having to choose to save it? See explanation in user manual.
[Yes, I understand the risks] [Cancel (do not enable this option)]
-
Thanks for your thought, but if I understand the situation right, it will not help. At least not without changing the default N++ config (IMO - the affected users use the N++ as is without visiting the Preferences > Backup …).
Your suggestion belongs more to that N++ Preferences > Backup page clarifying stuff.
I took into account what @PeterJones and @Alan-Kilborn wrote above:
- this “autostore-what-I-write” feature is very popular among the N++ user base
- so it is a no-go to change the default N++ config and turn it off initially (a shitstorm of user complaints)
- but at the same time a new or inexperienced BFU does not understand the risk of not saving/backing up regularly
- so we need to use something what works out-of-the-box, but more experienced N++ users can easily turn it off
-
@xomx said in Closed without saving the tab with the necessary data for 3 months.:
- this “autostore-what-I-write” feature is very popular among the N++ user base
I don’t think it’s isolated to the N++ user base, which perhaps you’d also agree.
As far as I can tell, for at least a generation now users have been (actively?) lead to believe that what is being typed into an app will surely be saved somewhere. I doubt that trend will be reversed.
In my experience, people have always struggled with the concept of files and folders and connecting them to physical storage. It’s a small part of the population that has ever been able to instinctively grasp how or where data is actually stored.
Even though the size of the user base inceases, to me it doesn look like the percentage of users that grasp storage is going up.
Unless you yourself seek it out, If anything the incentives and perhaps need to learn about storage has likely been reducedSo for whatever it’s worth, my vote is always on whatever can reasoanbly be done to save users, and their data, from themselves.
I like both the 10-files-in-a-whoops folder as well as clarifying the choices with warnings.I’d prefer the defaults to keep the data as can be. That includes the “new 1” tabs with months of data that the user didn’t choose to give a name or save to alocation.
-
@Snabel42 said in Closed without saving the tab with the necessary data for 3 months.:
So for whatever it’s worth, my vote is always on whatever can reasoanbly be done to save users, and their data, from themselves.
So, for all intents and purposes, you’'re going to take what is essentially a Programmer’s Editor, for programmers, and dumb it down for people who should have some concepts of the workings of computers and storage, so the user who is only using it for text editing can forego learning how to save a file? You have to draw the line somewhere.
If you’re going to use a tool, any tool, you’re required to learn how to use it properly, not have the tool learn how to use you.
Should they not learn to not hit themselves in the head with a hammer, because they wanted it to hit a nail, until the hammer learns to hit the nail instead of their head? Keep those programmers away from a keyboard before they kill themselves and their users. :-)
-
@Lycan-Thrope said in Closed without saving the tab with the necessary data for 3 months.:
@Snabel42 said in Closed without saving the tab with the necessary data for 3 months.:
So for whatever it’s worth, my vote is always on whatever can reasoanbly be done to save users, and their data, from themselves.
So, for all intents and purposes, you’'re going to take what is essentially a Programmer’s Editor, for programmers, and dumb it down for people who should have some concepts of the workings of computers and storage, so the user who is only using it for text editing can forego learning how to save a file? You have to draw the line somewhere.
You said it yourself, it’s a Programmer’s Editor, for programmers. I believe many programmer are, and will continue to be, very disconnected from the file systems on top of which their Programmer’s Editor runs.
In an ideal world any user of a tool knows enough about the tool not to be dangerous. But looking at the programmers I work with and where that trend is going, I would still bet on file-system knowledge going down rather than up. No one asked me whether I liked that fact or not. I think I missed that meeting.If you’re going to use a tool, any tool, you’re required to learn how to use it properly, not have the tool learn how to use you.
Should they not learn to not hit themselves in the head with a hammer, because they wanted it to hit a nail, until the hammer learns to hit the nail instead of their head? Keep those programmers away from a keyboard before they kill themselves and their users. :-)
I think there’s slightly more complexity to the tool-chain of programming. Probably enough to where the hammer analogy is not a perfect fit. I think in the world we live, it’s likely more productive if we can assist programmers to excel at the actual programming, without insisting on knowledge of the file system.
The fact that people keep using the “new 1” unsaved folders and keep losing their data could at least be seen as some data pointing to that fact. Those same people are still often being paid good money to build things out in the world.
Do we insist that they’re “doing it wrong”, or do we try to help? At least that’s one way of framing the choice. -
@xomx said in Closed without saving the tab with the necessary data for 3 months.:
it will not help. At least not without changing the default N++ config
I had no idea that bizarre (to me) setting is the default for new installations. People want that?
I have to go now and yell at some kids to get off my lawn. :-(
-
Ok, I tried something else, could you please try & comment this binary:
http://xomx.wz.cz/NotepadPlusPlus/npp-v866devel-uusafety-test.zipYep, that would be a reasonable protection, IMO: it’s easy to get rid of (with that checkbox), but would be there as an added protection that users could keep if they found it useful.
That “Never ask again” has currently no N++ Preferences GUI checkbox counterpart/config.xml, so after you check it, you have to restart N++ to be able to see this new safety yes/no dialog next time.
I am assuming that you’d put it in the GUI next to
Enable Save All cofirm dialog
. -
@Snabel42 said in Closed without saving the tab with the necessary data for 3 months.:
now users have been (actively?) lead to believe that what is being typed into an app will surely be saved somewhere. I doubt that trend will be reversed.
In my experience, people have always struggled with the concept of files and folders and connecting them to physical storage. It’s a small part of the population that has ever been able to instinctively grasp how or where data is actually stored.
Thank you for this insight. I sometimes forget that this film is slowly turning from the sci-fi comedy category to the document one ;-)
@Lycan-Thrope said in Closed without saving the tab with the necessary data for 3 months.:
Should they not learn to not hit themselves in the head with a hammer, because they wanted it to hit a nail, until the hammer learns to hit the nail instead of their head?
I would rather be quiet or some official here in the EU will notice and issue a directive that a hammer is a dangerous weapon in its own right and must at least have a firearms license.
Besides, I am surprised that in this crazy world there are not mandatory engravings on knife blades yet like - “Be careful, sharp, you could cut your head off!”
@PeterJones said in Closed without saving the tab with the necessary data for 3 months.:
Yep, that would be a reasonable protection
Ok, I will open an issue for this and ask Don if he approves…
@PeterJones said in Closed without saving the tab with the necessary data for 3 months.:
I am assuming that you’d put it in the GUI next to Enable Save All cofirm dialog.
Exactly.
-
@Snabel42 said in Closed without saving the tab with the necessary data for 3 months.:
It’s a small part of the population that has ever been able to instinctively grasp how or where data is actually stored.
This statement blows my mind.
I suppose when people out of necessity get a new PC or hard drive, they just accept the fact that important data is just no longer “there” (wherever “there” was).I believe many programmer are, and will continue to be, very disconnected from the file systems on top of which their Programmer’s Editor runs.
God save us all.
-
@Snabel42 said in Closed without saving the tab with the necessary data for 3 months.:
I think there’s slightly more complexity to the tool-chain of programming. Probably enough to where the hammer analogy is not a perfect fit. I think in the world we live, it’s likely more productive if we can assist programmers to excel at the actual programming, without insisting on knowledge of the file system.
The fact that people keep using the “new 1” unsaved folders and keep losing their data could at least be seen as some data pointing to that fact. Those same people are still often being paid good money to build things out in the world.
Do we insist that they’re “doing it wrong”, or do we try to help? At least that’s one way of framing the choice.Well, here’s a solution. We can go back to the old way of making them open a document from scratch, without one being there already, and then the onus is on them still. Think they’ll get the idea they need to save then? If they don’t understand file systems, they have no business programming, or even using a computer IMHO.
Save yourself now and let them rot losing their data so they’ll give up using the editor and we can at least relish the fact that when they lose their data because they were that stupid not to save it…we get a good laugh and realize, Darwin’s work is in action. Eventually they’ll expire, and the species will have avoided not flushing the gene pool, when it should have. :-)
-
-
GitHub issue #15032
-
-
I applaud @xomx for trying, but isn’t the proposed solution simply giving the user more words and prompts? And don’t complaints with existing functionality basically boil down to “I didn’t read the prompts and/or I didn’t think about what I was doing”?
Probably adding more words/prompts makes it more of a TL;DR … followed by the user still continuing on and doing a dumb thing.
Let’s review how the OP for this thread got into trouble:
Accidentally closed the active tab with material that had been stored for many months…
@PeterJones responded to this with:
If you close the active tab while there are unsaved changes, it will prompt you to save those changes.
As far as prompting goes, IMO that’s all that’s needed.
-
@Alan-Kilborn said in Closed without saving the tab with the necessary data for 3 months.:
isn’t the proposed solution simply giving the user more words and prompts?
Simply saying - yes.
@Alan-Kilborn said in Closed without saving the tab with the necessary data for 3 months.:
And don’t complaints with existing functionality basically boil down to “I didn’t read the prompts and/or I didn’t think about what I was doing”?
Yes, I for one will live happily without this new dlg. But even if I think about this issue reason probably differently than the OP, the fact remains that different people think and behave differently, and if I can help them without having to adapt to their bad habits myself (that “Never ask again” checkbox), I am ready to do so. (Maybe then they also help me next time when it will be me needing the help.)
And do not forget that we can all have sometimes our weak moments when we do something thoughtlessly/automatically and then perhaps regret it. Here the right habits help, specifically here e.g. the regular backups drill. But without it, there still could be that new special dlg (not seen in any other situation) that could make the user realize that it might not be ok.
I myself was punished by a different situation where I had a file open in the N++, which I then deleted for some reason externally. But when I then got back to N++, I confirmed keeping that tab in and after some longer time I started writing my changes to it, only to finally decide not to save them and go back to the original file. You can probably guess at this point where I am going - yes, I closed the N++ tab and clicked that do-not-save and lost both the changed file and the original one. All this because my memory no longer remembered what came before. The proposed solution will help even with such case.
-
I had no idea that bizarre (to me) setting is the default for new installations. People want that?
According all the feedback I’ve got, yes, people love it.
If you’re going to use a tool, any tool, you’re required to learn how to use it properly, not have the tool learn how to use you.
Agree. However, making software easy to use, it’s not only the responsibility of an application, but also for staying ahead of the competition. Users are unlikely to embrace applications that do not put forth any effort to simplify their lives.
So for whatever it’s worth, my vote is always on whatever can reasoanbly be done to save users, and their data, from themselves.
Well said. I think it’s the way to go.
Though I am ready to do some effort for remedying this issue, I feel @xomx ‘s solution is overwhelming. It’s a good intention to add more dialog, but let’s not disturb the users’ workflow.
Here’s my suggestion:
The sentence is in red for drawing people’s attention.
It’s brief and short so people will take time to read.
With 2 approaches above, it should be efficient.Probably adding more words/prompts makes it more of a … followed by the user still continuing on and doing a dumb thing.
“The warning has been given, they are on their own now.” - as my favorite sentence has been said in WarCraft II.
-
@donho said in Closed without saving the tab with the necessary data for 3 months.:
“The warning has been given, they are on their own now.” - as my favorite sentence has been said in WarCraft II.
When does the attack begin, my liege? :-)