Update on what occurs in Version 140.7.1esr If I open a new Write message which auto has my signature but no other content and only change the From and then click on X to close: If I open a new Write message which auto has my signature but no other content and only enter a subject and then click on X to close: If I open any saved draft with content and only change the From and then click on X to close: If I open any saved draft and alter anything - from, subject or content: In all situations - I am prompted - save, discard or cancel. Do I expect to see that prompt? Yes. Because I consider anything that has been altered, added, removed etc etc in all areas of the email to be part of the data that needs to be saved, otherwise I would not have made any changes at all. Maybe the 'isBodyModified' is not the correct term as some say the 'body' of an email excludes what I'll call header information eg: From, To, Subject, and therefore 'isModified' is more correct. Or create two separate sections of code - 'isBodyModified' and 'isHdrsModified' and if either triggers a true then offer the prompt save, discard or cancel. Whatever, you choose to call it, please do not alter what it does because it works perfectly and as expected because to me if anything is modified, I expect a prompt to save, discard or cancel if I choose to exit.
Bug 1850192 Comment 8 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Update on what occurs in Version 140.7.1esr If I open a new Write message which auto has my signature but no other content and only change the From and then click on X to close: If I open a new Write message which auto has my signature but no other content and only enter a subject and then click on X to close: If I open any saved draft with content and only change the From and then click on X to close: If I open any saved draft and alter anything - from, subject or content: In all situations - I am prompted - save, discard or cancel. Do I expect to see that prompt? Yes. Because I consider anything that has been altered, added, removed etc etc in all areas of the email to be part of the data that needs to be saved, otherwise I would not have made any changes at all. Maybe the 'isBodyModified' is not the correct term as some say the 'body' of an email excludes what I'll call header information eg: From, To, Subject, and therefore 'isModified' is more correct. I consider adding or removing an attachment to be part of 'body'. Or create two separate sections of code - 'isBodyModified' and 'isHdrsModified' and if either triggers a true then offer the prompt save, discard or cancel. Whatever, you choose to call it, please do not alter what it does because it works perfectly and as expected because to me if anything is modified, I expect a prompt to save, discard or cancel if I choose to exit.