On 12 January 2014 20:11, Sebastian Sastre <sebastian@flowingconcept.com>wrote:
On Jan 12, 2014, at 4:48 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
- if there is an unaccepted edit, it should not be lost, so we need a dialog, undo or history
- if you explicitly cancel an edit, there should not be a dialog, because you just said you want to cancel
Yes, that's the goal.
And as far as I can see the cheapest solution (to get the best of both worlds*) is implementing a setting option to prevent dialogs on focus loss.
I don't care about cost of solution because this is secondary to long standing principles: - do not mode me in (c). ever. because principles should come first. It might be another better more costly solutions though.
Not at all.. all you need is to change single method:
MorphicUIManager>>confirm: aStringOrText "Answer true. This was a modal question dialog, to which user was always responding yes." ^ true
sebastian <https://about.me/sebastianconcept>
o/
* by both worlds I mean
A) newcomers B) veterans
if you reward too much only veterans you'll make Pharo a sub-sub-sub-niche environment (one that assumes you already are addicted to compensate the UI vices of it)
-- Best regards, Igor Stasenko.