Jerome Laheurte wrote:
On Thu, 16 Oct 2008, Frank Niessink wrote:
2008/10/16 Jerome Laheurte <[EMAIL PROTECTED]>:
And the ones that no one noticed. It is still very easy to trigger an
exception when doing stuff with several task editor opened at once,
and cancel/undo/redo. I guess that's not the kind of things many
people do, but it's bothering me. And unfortunately, I see no
reasonable solution to it.
I think there is a solution and that is to exercise a command for
every user action, instead only when the user clicks OK. But I can't
prove it before we actually implement it :-(
Yes, should work, but the user expects the task creation to be undone
when he clicks OK, then Undo. With a command for each action, you
couldn't even know how much clicks on Undo would be needed...
Can you use a composite command. Actions within a dialog get aggregated
in a composite command when OK is clicked, and then the undo action on
a composite command will undo all of the composite actions? Or am I
missing something?
Carl