I created modal window, and it fires error dialog at some point (modal dialog as well), and irrlicht is frozen - it cant react on any mouse click.
I tested it with tutorial 5, simply try adding modal window from button click of another modal window and application will be inaccessible.
I know it is not practical to start modal from another modal, but two error dialogs can appear in real life and it shouldn't freeze the app. Simply last modal fired should be handled first.
If another confirms it, it can be moved to bugs...
Modal window created from modal window
Confirmed.
I tried to solve it by making the new modal window a child of the old one -- this way, the apropriate window reacts to mouse input. However, positioning and clipping of the window gets corrupted:
When I try to open a modal child window with relative (top, left) = (0, 0) from a modal window with absolute (top, left) = (A, B), what happens is that the child window opens with absolute (top, left) = (2*A, 2*B), instead of the expected absolute (A, B). Clipping rectangle gets affected as well.
I tried to solve it by making the new modal window a child of the old one -- this way, the apropriate window reacts to mouse input. However, positioning and clipping of the window gets corrupted:
When I try to open a modal child window with relative (top, left) = (0, 0) from a modal window with absolute (top, left) = (A, B), what happens is that the child window opens with absolute (top, left) = (2*A, 2*B), instead of the expected absolute (A, B). Clipping rectangle gets affected as well.