eirikbakke commented on PR #4792:
URL: https://github.com/apache/netbeans/pull/4792#issuecomment-1303975838

   @mbien That's standard desktop app behavior for "Cancel" in a 
multi-document-interface environment:  "Cancel" cancels the whole operation, 
"No" (actually "Discard" in NetBeans) closes the current file without saving, 
while continuing the loop. That's why there's a Cancel button that's separate 
from Discard.
   
   > To do this differently, one would have to scan the files first, ask the 
question with the multi-file-save dialog, then scan again and close the group 
if everything was saved and user didn't press cancel.
   
   No, that's not necessary; you just cancel when the user presses Cancel. If 
they already chose to save or discard some changes in other tabs, that's fine.
   
   I just tested with VSCode and Photoshop, for instance; it works that way 
there. (Not applicable in IntelliJ, since it autosaves and never prompts to 
save the file.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to