Closed without saving the tab with the necessary data for 3 months.
-
@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? :-)