Comment 7 for bug 696761

Revision history for this message
poy (poy) wrote :

merged other bugs into this one as they are manifestations of the same set of problems, all formed by the fact that DWT dialog loops are "too smart": they keep running the main loop which, while otherwise brilliant and unique as far as i know in a Windows UI library, can lead to a few odd issues.

1) one top-level window shouldn't be allowed to display more than one modal dialog at the same time.

2) the parent of a dialog shouldn't be allowed to be closed until the dialog has been dismissed; or alternatively, the dialog should be closed right before closing its parent.

3) message boxes, which aren't as "smart" as our modal dialogs, should obey rules 1 & 2 as well.