PlayPanel dB value not updated when master volume changed in mixer
Reported version
3.2
Type
Ergonomical (UX)
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Open Mixer. Open Play Panel. Move the Master Gain control on the Mixer. The Master volume slider in the Play Panel moves in sync. But the decibels value in the box below does not.
This is because when gainChanged() SIGNAL sent by the MasterSynthesizer to the PlayPanel's setGain() slot doesn't update the spin box. Fix is to amend PlayPanel::setGain(float) as follows:
void PlayPanel::setGain(float val) // respond to gainChanged() SIGNAL from MasterSynthesizer { const QSignalBlocker blockVolumeSpinBoxSignals(volSpinBox); volumeSlider->setValue(val); vol = val; volLabel(); }
However, looking into this reveals some further issues. The Mixer's Master Gain is in a range -3dB to 0dB. The Play Panel's Master volume is in the range -80dB to 0dB. That doesn't seem right? Can someone who know more about dB than I do say what it should be.
Fix version
3.3.3
Comments
Fixed in branch master, commit 8bac1fddde
_Fix #291901 & Fix #291453 Double-click resets Master Volume
Fixed in branch master, commit 8bac1fddde
_Fix #291901 & Fix #291453 Double-click resets Master Volume
Fixed in branch master, commit a71839a071
_Merge pull request #5213 from Obliquely/obq-playpanel-double-click
Fix #291901 & Fix #291453 Double-click resets Master Volume_
Automatically closed -- issue fixed for 2 weeks with no activity.