![image](https://cloud.githubusercontent.com/assets/33569/22919719/34c64ddc-f246-11e6...)
I've been a programmer for 20 years and I can't make sense of this message. Why was the file reloaded? What are my choices? What do I lose vs. gain? Can this message be simplified?
1) the file was reloaded because you told it to (did you accidentally press reload instead of save, I have done that on occasion) 2) as the message says, the state before the reload is saved in the edit history, unlike most other editors that just discard everything on reload, so since its an unusual capability, the first time you do reload you get this message explaining that you can undo the reload 3) since saving the previous state could be expensive in memory if you are reloading often (eg a log file) you have the option to disable this feature by selecting the "Discard History" button 4) so you don't think that decision is final it is noted that you can change the decision in the preferences at any time
Any suggestions to make the message clearer are welcome.
OK, that makes more sense. How about this:
You've just reloaded this file from disk. This has overwritten your unsaved changes. If you want to go back to the unsaved state, click "Go back".
And have two buttons, "Go back" and an "x" to dismiss the message.
If the user goes back, great. If they dismiss the message, display another toaster regarding the ability to customize whether this message will be displayed again:
You can disable showing this message via Preferences -> ... [wherever the setting is]
As this is a courtesy message displayed once only it doesn't seem worth the effort of multiple dialogs and extra functions providing a "goback" option, as the message says you can use "undo".
But certainly indicating the name of the Various preference may be worthwhile, though I'm not sure it will be remembered later when somebody wants to use it.
github-comments@lists.geany.org