-
Bug
-
Resolution: Fixed
-
Minecraft 19w11a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w34a, 19w35a, 19w36a, 19w37a, 19w38b, 19w38a, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 19w45a, 19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w11a, 1.17 Pre-release 2, 1.17.1, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Release Candidate 1, 1.18.1, 22w03a, 22w05a, 1.18.2, 22w11a, 22w15a, 22w16b, 1.19 Pre-release 2, 1.19 Pre-release 4, 1.19, 1.19.1 Pre-release 1, 1.19.2
-
Confirmed
-
Sound, UI
-
Normal
The bug
Clicking a settings button when there's a slider under the mouse in the next screen plays the "click" sound twice.
Example
Here is an example in video: Click button when slider under plays click sound twice.mp4
Additional note
This effect is also created when you push the mouse button down, hearing a click and entering a menu, move the mouse to be on top of a slider, and then releasing. You still get an extra click.
A nice place to demonstrate this is from the Minecraft title screen: move the mouse over the Options button, press down on Left Click, continue to hold down the button while moving the mouse up to the FOV slider, then release. Extra click sound.
Also, strangely, moving the mouse to be over a slider does not produce the extra sound when entering the Video Settings menu, but does work in Options, Music & Sounds, Controls, Chat Settings, and Accessibility Settings.
Code analysis
I'm a minecraft modder, and I accidentally found the source of this bug while making a custom GUI.
The problem is, as Joey mentioned above, because minecraft is coded to play the click sound for sliders on mouse release (see: AbstractSliderButton.java, method onRelease). Because the GUI changes on the mouse press, not release, the GUI elements have changed by the time you are releasing the mouse, resulting in the repeat of the sound. This can be resolved by adding some checks around the playDownSound call to make sure you've actually been manipulating the slider.
– Valoeghese in this comment
- is cloned by
-
MC-278164 Click sound is played twice when you click a setting button and there's a slider under the mouse in the next screen
- Open
- is duplicated by
-
MC-145810 Clicking a Settings button when there's a slider under the mouse in the next screen plays the click sound twice
- Resolved
-
MC-146338 Dobule-click sound
- Resolved
-
MC-146809 When you click on the "Music & Sounds ..." sound is duplicated.
- Resolved
-
MC-147408 Opening Music & Sounds menu plays click sound twice
- Resolved
-
MC-147553 Chat settings and Music & Sounds buttons produce double click sound
- Resolved
-
MC-147949 Button sound in options
- Resolved
-
MC-148079 Double click sound in settings
- Resolved
-
MC-148153 sometimes, clicking on "music and sounds" will play the click sound twice
- Resolved
-
MC-148286 Doubling clicking sound
- Resolved
-
MC-148304 Double click sound in options menu
- Resolved
-
MC-148531 Click sound on release of mouse on scrollable options in menu
- Resolved
-
MC-148619 The "Click" sound sometimes plays twice in the option's menu
- Resolved
-
MC-148659 When you click the "Chat Settings ..." button, the click is issued twice.
- Resolved
-
MC-149142 Bugs with some options in the menu Options...
- Resolved
-
MC-150650 Issues with navigating menu and click noises
- Resolved
-
MC-151166 サウンド設定をクリックすると音が二回なる
- Resolved
-
MC-151448 sound
- Resolved
-
MC-151605 Clicking on the music and options button plays the click sound twice
- Resolved
-
MC-151798 Double click sound on certain buttons
- Resolved
-
MC-152418 Duplicate noise when clicking "Music & Sounds"
- Resolved
-
MC-152913 Audio Bug on button press
- Resolved
-
MC-153560 2 button click sounds instead of one
- Resolved
-
MC-156212 Doubled click sound in options
- Resolved
-
MC-156427 Double Click Noise when clicking "Music & Sounds..." button in options.
- Resolved
-
MC-157603 Menu sound glitch
- Resolved
-
MC-163509 Chat Settings do a double-click-sound
- Resolved
-
MC-164802 Double Clicking Noise In Settings
- Resolved
-
MC-166482 Buttons in "Options" make twice the same sound
- Resolved
-
MC-166848 Chat Settings Gui button Click sounds twice.
- Resolved
-
MC-167433 Double Click Noise
- Resolved
-
MC-167973 Click sound plays twice when opening the Music and Sound config
- Resolved
-
MC-169837 Some settings buttons makes selection sound on release
- Resolved
-
MC-170263 Double sound when clicking on button "music and sound" and "chat"menu
- Resolved
-
MC-171677 Clicking "Options>Music & Sounds" button plays two click sound.
- Resolved
-
MC-172453 It makes double sound after clicking the button
- Resolved
-
MC-177536 Sound Effect happens twice when opening chat settings
- Resolved
-
MC-179385 double click sound when opening "music & sounds" menu
- Resolved
-
MC-179827 'Chat settings' button plays the click sound twice.
- Resolved
-
MC-180417 UI click sound bug
- Resolved
-
MC-183950 Pressing the Music & Sounds button plays the sound twice
- Resolved
-
MC-184567 Some menu buttons in options make the clicking sound twice
- Resolved
-
MC-185999 Duplicate sound playing when clicking specific buttons.
- Resolved
-
MC-188027 Double-click sound in chat settings
- Resolved
-
MC-189215 Button click event sound plays twice when you click “Music & Sounds…”
- Resolved
-
MC-190004 Double sound when clicked on "Chat Settings"
- Resolved
-
MC-204225 When selecting "music & sounds" in options, the "click" noise plays twice
- Resolved
-
MC-207551 Music and sounds
- Resolved
-
MC-239663 Double sound when clicking on music & sounds
- Resolved
-
MC-249114 Clicking on the "Music & Sounds..." button makes clicking noise multiple times
- Resolved
-
MC-250371 Clicking Music and Sounds activates the clicking sound twice in quick succession opposed to once.
- Resolved
- relates to
-
MC-147538 Cannot drag any slider in "Video Settings" options
- Resolved
-
MC-170817 Click sound of sliders in the video settings noticeably louder than anywhere else
- Resolved
-
MC-144525 Clicking any slider then clicking anywhere on the screen plays the 'click' sound
- Resolved