Bug 457317 - Volume indicator popup displays wrong percentage when using pipewire-pulse
Summary: Volume indicator popup displays wrong percentage when using pipewire-pulse
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-30 21:43 UTC by Anil
Modified: 2023-08-11 14:14 UTC (History)
4 users (show)

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


Attachments
screenshot (1.06 MB, image/png)
2022-07-30 21:43 UTC, Anil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anil 2022-07-30 21:43:07 UTC
Created attachment 151011 [details]
screenshot

SUMMARY
The popup volume indicator is always 95% when decreasing the volume, or 100% when increasing the volume

STEPS TO REPRODUCE
1. Use the volume buttons to change the audio level

OBSERVED RESULT
* Popup indicator is always at 95% volume if decreasing volume, or 100% if increasing volume
* Audio behaves correctly (getting louder or softer)
* System tray behaves correctly (slider in the tray goes up/down by 5% increments


EXPECTED RESULT
* Popup indicator matches the correct % (as seen in the system tray)


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.15-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Framework
Product Name: Laptop
System Version: A3

ADDITIONAL INFORMATION
Persists after reboot
Using pipewire (and pipewire-pulse)
Comment 1 Anil 2022-07-30 21:54:01 UTC
Update:
With `pipewire-pulse` installed: bug repros
With `pulseaudio` installed: bug does not repro.

It is odd to me that the system tray works correctly regardless. Perhaps the popup widget can use the same code?
Comment 2 Anil 2022-09-20 10:27:50 UTC
Upgrading pipewire to 0.3.57 appears to have fixed the issue:
[2022-09-20T00:27:02-0700] [ALPM] upgraded pipewire (1:0.3.57-1 -> 1:0.3.58-1)
[2022-09-20T00:27:02-0700] [ALPM] upgraded pipewire-jack (1:0.3.57-1 -> 1:0.3.58-1)
[2022-09-20T00:27:03-0700] [ALPM] upgraded gst-plugin-pipewire (1:0.3.57-1 -> 1:0.3.58-1)
[2022-09-20T00:27:05-0700] [ALPM] upgraded pipewire-pulse (1:0.3.57-1 -> 1:0.3.58-1)
Comment 3 Anil 2022-12-28 21:33:16 UTC
This is now reproing again on pipewire v0.3.63.

Not sure if this is a kde or a pipewire bug
Comment 4 Nate Graham 2023-01-02 21:14:16 UTC
If a new PipeWire version re-introduced the issue, it's a PipeWire bug. FWIW I just got an update for version 0.4 recently. Maybe try that? Either way please report it at https://gitlab.freedesktop.org/pipewire/pipewire/-/issues
Comment 5 Andrea Ippolito 2023-08-11 14:14:09 UTC
I think I just got this again since a recent pipewire update.
No way on earth I can move my volume from 10% :(