Repository navigation
fix(audio): route bar wheel and panel slider volume through omarchy-audio-output-volume - #14683
anmolsharma152 wants to merge 1 commit into
Conversation
e2d5427 to
605a967
Compare
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no new blocking issue was found. SummaryRoutes bar-wheel and panel-slider volume changes through
|
605a967 to
a448a7a
Compare
a448a7a to
ac0a56b
Compare
ac0a56b to
20e8449
Compare
|
Thanks for digging into the Bluetooth case. A few pointers so this doesn't get split across PRs:
|
20e8449 to
70eeee9
Compare
|
Thanks for the pointers and review @jandrusk!
The branch has been updated and pushed! |
70eeee9 to
9dda73e
Compare
9dda73e to
7ab988a
Compare
|
Looked at this today, but didn't get past classifying it. I read it as a bug fix: bar-wheel and panel-slider volume changes that don't reach Bluetooth sinks. Every item here gets classified by two models separately, and the second one (Codex Medium) couldn't run because omabot has used up its daily review budget. So the classification isn't settled yet, and I haven't added labels, run the change on a test machine or reviewed the diff line by line. Nothing is needed from you right now. This comes back round for a full review once a second opinion is available. |
|
your commit is in #21020. the bar wheel goes through omarchy-audio-output-volume. absolute N and N% set the level, and --no-osd, --preserve-mute, and --sink stayed. --no-osd is a separate flag from the function that draws the OSD, which had the same name and replaced it. relative steps still accumulate. @dhh @omarchybot if 21020 lands, this can close as superseded. |
…udio-output-volume
7ab988a to
c0e2a55
Compare
|
Recommend: Hold — maintainer to decide whether the Bluetooth volume fallback is still needed on Codex High classified the diff as a compatibility fix for #12707. DeepSeek V4.1 Flash classified it as an enhancement. The diff also adds absolute volume and sink selection to the CLI, and Quickshell 0.3.2 fixes the reported failure to write route volume when a device reports no volume step. The classification is unsettled, so verification stopped before worker tests. Quickshell fix · Omarchy packaging |
Problem
When adjusting output volume using the scroll wheel on the top bar's audio widget or dragging the panel slider, volume does not actually decrease or increase on Bluetooth devices (e.g. A2DP sinks) or sinks requiring route-level control, even though the slider moves and the OSD displays changes. Media keys, on the other hand, work as expected.
Root Cause
omarchy-audio-output-volume, which usespactl set-sink-volumeand interacts directly withpipewire-pulseto properly update hardware and Bluetooth sinks.shell/plugins/panels/audio/Panel.qml, the bar wheel handler and panel slider previously relied on Quickshell's internal PipeWire QML property binding (volumeSink.audio.volume = volume). Quickshell sets node-level parameters (pw_node), which Bluetooth nodes ignore because their volume is managed on device routes. As a result, Quickshell's internal state updated, but the physical sink volume in PipeWire remained unchanged.Solution
bin/omarchy-audio-output-volumeto support:--no-osdflag to allow silent programmatic updates (e.g., when dragging the panel slider).N%/N).shell/plugins/panels/audio/Panel.qml:omarchy-audio-output-volume [+-]step, matching media key behavior and reliably updating Bluetooth sinks.setOutputVolume()syncs the volume downstream usingomarchy-audio-output-volume --no-osd <N>%.Verification
test/shell.d/audio-test.shpasses.Fixes #12707
Relates to #13004