On Mon, 25 Aug 2008, Jerome Laheurte wrote: > On Sun, 24 Aug 2008, Frank Niessink wrote: > >> 2008/8/24 Jerome Laheurte <[EMAIL PROTECTED]>: >>> On Sun, 24 Aug 2008, Jerome Laheurte wrote: >>> >>>> Actually I was so sure dialogs were already modal that I didn't check. >>>> Obviously a potential for bugs here. >>> >>> And thinking about it, all dialogs must be modal, not only those >>> created from a dialog. >> >> I guess you're saying that because you're thinking about the situation >> where a user deletes an object that is opened in a edit dialog? > > I was thinking about another scenario: create a category, create a > task, check the category in the task editor, delete the category in > the main view, click OK. As expected,
Okay, this is moot since the task editor now has a "real" category viewer, the deleted category will disappear from it as well. But basically, being able to edit two objects at the same time (in two different dialogs, that is) breaks horribly the undo/redo mechanism as long as Command instances are used in the editor dialog... This will be hard to work around.
