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

No beep when modal dialog up and click on another window

XMLWordPrintable

    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      jdk1.6.0_05

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP Professional SP 2

      A DESCRIPTION OF THE PROBLEM :
      Prior to upgrading to jdk 6.0, when I opened a modal dialog and then clicked on another window, I heard a beep. Now the dialog is modal but I hear no beep.

      My application first calls JDialog(Dialog owner, boolean modal) with modal set to false. It disposes of the dialog. From that point on, all dialogs created with modal true, are modal, but no beep is heard when I click on another window.

      If I do not first create a non modal dialog, the beep works.
      So something new to this JDK breaks beep in the case where the first JDialog opened is non-modal.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a process which
      1) Opens a non modal Dialog and then disposes of it
      2) Opens a window which stays open
      3) Opens a modal dialog off that window

      If you click on the window opened in step 2 while the modal window created in step 3 is open - NO BEEP

      If you skip step 2 above, beep works.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I was expecting to hear a beep when I had a modal dialog open and clicked on another window.
      ACTUAL -
      I saw my non-modal dialog display and then disappear

      I saw my main window open.

      I pressed a button which cause a modal dialog to open.

      When I click on the main window, I heard no beep.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No errors. Just no beep.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      See above for description
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      There is no workaround I have found

      Release Regression From : 6
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            art Artem Ananiev (Inactive)
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: