Bug 417286 - Ability to limit maximum volume to something less than 100%
Summary: Ability to limit maximum volume to something less than 100%
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_pulseaudio (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-07 22:08 UTC by Noah Davis
Modified: 2024-09-08 20:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noah Davis 2020-02-07 22:08:04 UTC
SUMMARY
After a recent update somewhere between 2020-02-03 and 2020-02-06, my audio volume stopped being limited to 50%. I checked the volume widget settings where I had originally set the maximum volume to 50% and the setting for maximum volume was not there.

STEPS TO REPRODUCE
1. Right click on the volume icon in the systray
2. Go to "Configure Audio Volume..."

OBSERVED RESULT
There is no setting for maximum volume

EXPECTED RESULT
There should be a setting for maximum volume.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200205
KDE Plasma Version: 5.18.80 (git master)
KDE Frameworks Version: 5.67.0 (git master)
Qt Version: 5.14.1
Kernel Version: 5.4.14-2-default


ADDITIONAL INFORMATION
Possibly unrelated, but it happened at the same time:
Whenever I press volume up/down on my keyboard, volume is instantly set to 100%.
Comment 1 Noah Davis 2020-02-07 22:10:53 UTC
Regarding the possibly unrelated additional info: I just updated today and now pressing volume up/down sets the volume to 0%.
Comment 2 Nate Graham 2020-02-08 05:35:53 UTC
Ah yeah, the setting was removed in the latest version, in favor of a new global "raise maximum volume" level.

I guess we forgot to consider the case where you would want to *limit* the maximum volume. :/
Comment 3 gvgeo 2020-02-10 10:10:24 UTC
I hope you don't include me in "we".
>>! In D26234#583474, @gvgeo wrote:
> ...But I recall a request that enabled values below 100%.

Option no.1
Control "Raise maximum volume" with this setting, and change text to "Lower maximum volume" when < 100.
BUT, this feels too similar to my original/proposed patch which received criticism. Only difference was per app in hamburger vs global switch.

Option no.2
The setting, controls the normal volume with a range 50-100. Raise maximum volume" restores max volume to 100 (or raise it to 150).

As this was by design and not really a bug. I will not work on it.

---

I looked into the volume up/down keys issue, tried some things, only found 2 other unrelated bugs :(
Can you confirm this is plasma-pa issue? By changing the volume with the mouse wheel, on the system tray icon. Keys can be hijacked(e.g. kmix).
Switching mute(global or device's) or "raise maximum volume" changes anything?
Although I cannot see how it could be related. Any strange value for ~/.config/plasma-org.kde.plasma.desktop-appletsrc ? Looking for `raiseMaximumVolume` or `volumeStep`.
I couldn't find anything, so any hint is welcome.
If you find anything more specific, better open an other bug report. It is indeed unrelated.
Comment 4 Noah Davis 2020-02-10 16:06:30 UTC
> Can you confirm this is plasma-pa issue? By changing the volume with the mouse wheel, on the system tray icon.

I tried that just now and it did the same thing as pressing volume up/down on the keyboard (set volume to 0%). I suppose I should open a separate bug for this.