Plugin dialog makes system 'chime' sound

Posted by Twisol on Sat 06 Feb 2010 10:18 PM — 24 posts, 81,500 views.

USA #0
(v4.48)

In the plugin dialog, clicking on any of the plugins in the list causes a system chime sound to occur. I'm nearly positive it didn't do this in 4.46 (which I upgraded from).


As an afterthought: Secondly, as a minor annoyance that's been bothering since forever, the Help -> Functions List dialog closes if you double-click on a space not occupied by a list item. It shouldn't do anything if I don't double-click on an item, it should just stay there. Thirdly, the "Filter" input box on the functions list dialog should really automatically get focus when it's opened, so I can just start typing into it right away.
Australia Forum Administrator #1
Not to me it doesn't. Did you change your Windows theme? My daughter has hers set up so doing practically anything chimes and beeps at you.
Australia Forum Administrator #2
Fixed the other two problems.
USA #3
Nope. The only thing I did was upgrade MUSHclient. Granted, I was using a custom v4.46 build, but I don't recall hearing beeps before then either.
Netherlands #4
Is the screen using a common control? I recall there used to be a bug with one particular common control of a particular version (which would mean compilation under some old version of VC++) which had a bug in its usage of the PlaySound() routines.

But I don't think the window in question is a treelist, so I'm doubtful it is that.
Australia Forum Administrator #5
Can't reproduce that. Is this a custom 4.48 build? What version of Windows are you using?
USA #6
This is the generic v4.48 build installed via the released installer. I'm using Vista Home Premium 32bit.

I can't reproduce it on my laptop either (same details as above). I would check again on my desktop (where I heard the chime originally), but the screen got busted today, so I won't be using it anytime soon.
Australia Forum Administrator #7
If you do a git diff you see there were absolutely no changes to that dialog box handler between v4.46 and v4.48:


git diff v4.46 v4.48 -- FunctionListDlg.*

(no output)

USA #8
I also get the chime sound when clicking on a plugin in the list. I'm using 4.43 and Vista Home Premium, and I believe the chime was there before upgrading to 4.43 from 4.33. That is the only occasion that I get a chime.
Netherlands #9
I am not getting it with v4.44 on Windows 7 Ultimate.
USA #10
I'm back on my desktop (via a wall-mounted TV monitor...), and I continue to get the chime sound. My desktop is currently using v4.48 on Vista Home Premium.
Australia Forum Administrator #11
Nick Gammon said:

If you do a git diff you see there were absolutely no changes to that dialog box handler between v4.46 and v4.48:


git diff v4.46 v4.48 -- FunctionListDlg.*
(no output)



You didn't point out to me that this isn't the dialog I am looking for. ;) The relevant dialog is PluginsDlg. not FunctionListDlg.*

But no matter, that hasn't changed either.

I tried it on my daughter's Windows Vista PC (using MUSHclient 4.43) and there was no chime or any sound as I selected different plugins ... until:

If you go into Control Panel -> Sounds, and configure the sounds for various actions, if you set a sound for "changed selection" *then* you get a sound in the plugins dialog box because you are, well, changing the selection.
USA #12
I tried playing around with the system sounds in the control panel. I don't actually have an entry for "changed selection", but it turns out that it is using the sound assigned to "Default Beep" in the Windows group. And it's not just the plugin list, it seems to be all of the list controls: triggers, aliases, variables, etc.

Then I tried a different program that uses a pre-Vista list control, and sure enough it's doing the same thing. This must be something specific to Vista, as I know my list controls didn't ding in XP. Why, why did I ever upgrade???
Australia Forum Administrator #13
Upgrade is not the word. ;)


As for Vista, it didn't chime for me until I added that sound in the control panel.
USA #14
I can't find any "changed selection" sound in my Sounds controls, either. Hokken is right, also: I get the chiming sounds in the triggers/aliases/etc lists as well.
USA #15
I found an article on this [1] in the Microsoft KnowledgeBase, it seems like this might be exactly the issue. I'll try Method 2 shortly.

EDIT: It worked, the sound no longer occurs!

[1]: http://support.microsoft.com/kb/944150
Amended on Thu 11 Feb 2010 01:37 AM by Twisol
Australia Forum Administrator #16
Australia Forum Administrator #17
So, not a MUSHclient bug then? Another Windows feature? I'll move the thread to General.
USA #18
Nick Gammon said:

(image)


Exactly, but it didn't have any sound attached (no speaker icon on the left). Clearing the registry key that the article points to solved it, and I do recall having changed one or two options in Sound recently, so that's probably when it happened.
Australia Forum Administrator #19
What you need to do Twisol is record yourself saying nothing, and attach that sound to the "select" event. <grin>
USA #20
The Microsoft KB fix worked for me, too. I am really glad that annoying chime is finally gone. Thanks Twisol for finding that.
Netherlands #21
In other words, it is exactly the same bug I referred to in my first post in this topic. ^^; I just lacked a link to the KB article. Gotta love psychic debugging.
USA #22
Same bug, different control (listview instead of treelist), same sounds!
Amended on Fri 12 Feb 2010 08:03 AM by Twisol
Netherlands #23
Maybe I misremembered the control. It was months ago that I read about it, heh. And it'd be stupid to have the same bug on both controls imo. But yeah, problem solved!