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

Pressing the Enter key results in an alert tone beep when focus is TextField

    Details

    • Subcomponent:
    • Introduced In Version:
      7u6
    • Resolved In Build:
      b58
    • CPU:
      x86
    • OS:
      windows_xp, windows_7

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.7.0_06"
        Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
        Java HotSpot(TM) Client VM (build 23.2-b09, mixed mode, sharing)


        ADDITIONAL OS VERSION INFORMATION :
        Windows XP [Version 5.1.2600]

        A DESCRIPTION OF THE PROBLEM :
        Pressing the Enter key results in an alert tone beep when focus is in a TextField.

          Bug report data and sample copied from older bug:
        http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6367006

        I can confirm that under 1.7.0_06 that the issue occurs. My other test version of Java is 1.6.0_24 which does not exhibit the issue. It may have occurred anywhere between these versions.

        Search tag:
        Beep or ding on enter

        REGRESSION. Last worked in version 6u31

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        1. Run the applet with source code given below. A working applet and the source code are at segal.org/java/beeping_textfield/.
        2. Click in the TextField to get focus
        3. Press the Enter key




        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        No sound should be produced.

        ACTUAL -
        An alert sound is produced. This is a problem because it suggests to the user that they did something wrong or the program malfunctioned.

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        import java.applet.*;
        import java.awt.*;

        public class beeping_textfield extends Applet {

        public void init()
        {
            setBackground(new Color(200, 150, 200));
            TextField textField = new TextField();
            add(textField);
        }
        } // END OF Class beeping_textfield


        ---------- END SOURCE ----------

        CUSTOMER SUBMITTED WORKAROUND :
        Requires downgrade of java

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexsch Alexandr Scherbatiy
                  Reporter:
                  webbuggrp Webbug Group
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: