-
Bug
-
Resolution: Fixed
-
P3
-
6
I have a Frame which is excluded from Application Modality. This frame has a button when brings up an Application Modal Dialog when clicked. There are a couple of issues:
1. When I click on the frame icon on the taskbar, the frame (alongwith the dialog) gets minimized properly the first time. But after that, subsequent clicks on the taskbar icon minimizes and immediately restores the frame to the normal state. It does not really look good to see frame getting minimized and restored automatically. Either it should minimize fully or it should stay there.
2. When I minimize the frame and the dialog using the 'minimize' button of the frame, it minimizes properly alongwith the dialog. When I restore it by clicking on the taskbar icon, none of the above windows are activated. Both the frame and the dialog remains inactive until someone clicks on it. The other way to reproduce this is to click on the 'Show Desktop' icon on Win32 when Frame and Dialog are visible. Then click on the taskbar Java icon to restore the frame. You will see that none of the windows get activated by default.
The above issues are reproducible only on WinXP since Mustang-b40 where this modality exclusion feature was introduced. This is not reproducible on XToolkit. This is not reproducible when the frame is not modal excluded.
I have attached a sample test. Execute it and you will get a Frame. Click on the button. A dialog will open up. Then try out the above scenarios and see you get the same output what is described there.
1. When I click on the frame icon on the taskbar, the frame (alongwith the dialog) gets minimized properly the first time. But after that, subsequent clicks on the taskbar icon minimizes and immediately restores the frame to the normal state. It does not really look good to see frame getting minimized and restored automatically. Either it should minimize fully or it should stay there.
2. When I minimize the frame and the dialog using the 'minimize' button of the frame, it minimizes properly alongwith the dialog. When I restore it by clicking on the taskbar icon, none of the above windows are activated. Both the frame and the dialog remains inactive until someone clicks on it. The other way to reproduce this is to click on the 'Show Desktop' icon on Win32 when Frame and Dialog are visible. Then click on the taskbar Java icon to restore the frame. You will see that none of the windows get activated by default.
The above issues are reproducible only on WinXP since Mustang-b40 where this modality exclusion feature was introduced. This is not reproducible on XToolkit. This is not reproducible when the frame is not modal excluded.
I have attached a sample test. Execute it and you will get a Frame. Click on the button. A dialog will open up. Then try out the above scenarios and see you get the same output what is described there.