UComboBoxString is not playing hover / press sounds when hovering / pressing items

Hi there,

Our sound designers would like to play sounds when the options of a UComboBoxString is hovered or pressed. They try to set it up in the ButtonStyle / Pressed Sound or Hover Sound fields, but nothing is playing. When I look at the exact hierarchy in the Widget Reflector (see attached image), it seems an SComboRow is created, not a CommonButtonBase or Button. Is this SComboRow able to play hover/press sounds at all? Maybe the Pressed Sound or Hover Sound in the Combo Button Style are never used?

Thanks!

Mathieu

Steps to Reproduce
Attach sounds / metasounds on the ButtonStyle / Pressed Sound or Hover Sound fields. Notice the sounds are not played.

Hi,

The ButtonStyle provided as part of a ComboBoxStyle is going to affect the ComboButton which you click to open/close the dropdown menu, so any sounds applied there should play when hovering/clicking that main button. For the rows of the opened ComboBox, the only thing currently exposed is SelectionChangeSound (also part of FComboBoxStyle) which should play when selecting a new option similar to an OnClicked sound.

We don’t currently have any hover sounds exposed for table rows , so that would require some engine changes. You could look at the definition of SComboRow in SComboBox.h, we have an OnMouseButtonDown override for the selection so you’d need to add something similar for OnMouseEnter to trigger the sound effect.

Best,

Cody

Hey Cody,

Thanks for your quick answer, as usual. My sound designers really want this hover sound, so I will explore your suggestion.

Cheers,

Mathieu