Posted by Peter Uhnak on Apr 15, 2016; 8:35pm URL: https://forum.world.st/Trapping-the-Pharo-window-close-event-tp4890079p4890262.html
I did not really get it. Now I have the impression that changing the
method definition shows that Pharo does not
offer the correct possibility.
Am I correct?
I disagree. Closing the window should not decide on it's own whether the session should be saved. Asking the user is the right thing.
The ideal thing would be to not ask if nothing has happened... but that's impossible, this is a live system, not a text editor.