Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000664EMStudioFreeEMS Pluginpublic2012-08-30 11:122012-10-15 08:15
Assigned ToFred 
PlatformAllOSAllOS VersionAll
Product Version0.0.1-SNAPSHOT 
Target Version0.0.1Fixed in Version0.0.1 
Summary0000664: Add hard reset button/menu option
DescriptionAs title, should have an "are you sure, you will lose info if unsaved" dialog box pop up as it's seriousish to do a hard reset and only required for specific reasons.
TagsNo tags attached.
Issue TypeNew Feature
Attached Files

- Relationships

-  Notes
User avatar (0002309)
malcom2073 (manager)
2012-10-14 10:20

Done in 5b1685e1374f07bca50e3ec1619b57dc4597edd2

Reassign to me if you want a confirmation box for soft reset as well...
User avatar (0002314)
Fred (administrator)
2012-10-14 14:00

Yes, soft needs it too, it has the same effect on data, as does reinit which you currently don't support. Perhaps add it and give the three a common mechanism?
User avatar (0002317)
malcom2073 (manager)
2012-10-15 01:53

Fixed for both buttons in f4862bcefaa13cd12b3961b3b4f3136d733b38a0

I don't support reinit yet as you said, so that's out of scope for this bug report.
User avatar (0002325)
Fred (administrator)
2012-10-15 08:15

Fine, I guess, however if it's not just a matter of writing something like this, then you need more abstraction:

if(userConfirmsDataLoss()) {
    Dispatcher.send(new Packet(RE_INIT));
User avatar (0002326)
Fred (administrator)
2012-10-15 08:15


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker