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

Modal dialogs have minimized buttons and don't have max/close buttons on some platforms

XMLWordPrintable

    • b33
    • generic, sparc
    • generic, solaris_9
    • Verified

      System Config.:
      Sparc 10 (b67), Sparc 9, SLES 9 (AMD), RHAS 3.0, Suse 9.1 and Windows 2003
      Tiger Update 1 Build 03

      Symptom:
      The same type of dialog is displayed differently on different platforms.
      Modal dialogs have minimized buttons and don't have max/close buttons
      on some platforms.

      Test:
      hopper/awt/Manual/AWTComponentTest/NonModDialogTest
      The summary for this test is:
      1) Main Frame appears.
      2) Click on the ShowDialog button from Main Frame.
      3) Modal Dialog1 should be launched, click on the text field and type
         something.
      4) Click on the launch button, non-modal Dialog2 should be launched.
      5) Type something on the text field in Dialog2.
      6) Click on Dialog1 and type something in the text field of Dialog1.
      7) If you can't type in any of the text fileds, test is considered
         as Fail.

      Currently, I notice that the same dialog is displayed differently
      on different platforms.

      For example, a modal dialog "Dialog1" has three buttons (min., max., close)
      on Sparc 10, but it has only one button (close) on SLES 9 (AMD) system.
      And a non-modal dialog "Dialog2" has only one button (close) on Sparc 10,
      but it has three buttons (min., max., close) on SLES 9 (AMD) system.

      Here are some data I collected for the dialog appearance on different
      platforms:

      Sparc 10 SLES 9 (AMD)
      ============ ============
      Main Frame has(min. max. close) Main Frame has(min. max. close)
      Dialog1 has (min. max. close) Dialog1 has (close)
      Dialog2 has (close) Dialog2 has (min. max. close)


      Sparc 9 RHAS 3
      =========== ============
      Main Frame has(min. max.) Main Frame has(min. max. close)
      Dialog1 has (min. max.) Dialog1 has (close)
      Dialog2 has (none) Dialog2 has (close)

      Windows 2003 Suse 9.1
      ============ ============
      Main Frame has(min. max. close) Main Frame has(min. max. close)
      Dialog1 has (close) Dialog1 has (min. max. close)
      Dialog2 has (close) Dialog2 has (max. close)

      According to Denis:
      "They are not supposed to be like this. Modal dialogs are not allowed to
      be minimized, so they must have only max/close buttons. All other
      windows, if resizable, must have all three buttons..."
      ###@###.### 10/8/04 22:25 GMT

      Additional Info.:
      I tried on 1.4.2_07, Tiger beta3 b54, Tiger fcs (b64) and Tiger update 1 builds, they all have the same problem.
      This is not a regression.
      ###@###.### 10/9/04 05:47 GMT
      ###@###.### 10/15/04 16:58 GMT

            art Artem Ananiev (Inactive)
            mhuangsunw Melinda Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: