> that finding out whether a file has been modified or not might be
> somewhat convoluted.
I think a way would be to keep track of a clean/dirty flag whenever actions 
are performed. But since that requires to change code everywhere, including 
the future modules, if you don't like the idea of altogether, then this is not 
feasible. So, I'll try to explain another way to suggest something different.

I understand that, by design, there is no warning when I press "Close". I 
should not have pressed on Close if I did not intend to close. But actually I 
was referring to a particular case where closing the file is an unexpected 
side-effect of an activity -- channel managing. Here are the two points:

1. If one wants to switch between two channels, one must check the 
   second one before unchecking the first one, unless file is closed
   (and all unsaved modifications are lost).

I think this is unexpected. Order of operation should not result in 
irreversible data loss. 

2. If one wants to clean channels used for intermediate calculations 
   (extracted masks, duplicated channels...), one must be careful 
   of previously opening at least one channel that will not be 
   deleted in the end.

That means, one must visualize the end result of the complete loop before 
starting performing the first of them, while a natural tendency could be to 
perform the steps one by one. That requires specific effort of concentration, 
diverting mind from its main focus (experimental data processing) for 
something that seems to me to belong to the software: taking care that data is 
not lost except when the user meant it by performing a Delete action on a 
specific data field.

Therefore, to avoid an unintentional effects during channel management, I 
would suggest to disable the delete and uncheck actions for the only opened 
channel, if there is more than one channel in total and exactly one visible.

These are only humble suggestions, I hope there is no problem giving them. The 
software is anyway very enjoyable.

Best regards,
Jérôme Borme

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Gwyddion-users mailing list
Gwyddion-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to