Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6390156

Clicking the frame icon on the taskbar does not minimize the modal-excluded frame properly

    Details

    • Subcomponent:
    • Introduced In Build:
      b38
    • Introduced In Version:
      6
    • Resolved In Build:
      b81
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              art Artem Ananiev
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: