Bug 464317 - Show OSD when volume is changed externally (HW volume)
Summary: Show OSD when volume is changed externally (HW volume)
Status: RESOLVED FIXED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-15 10:17 UTC by Dmitry Sharshakov
Modified: 2024-01-24 04:40 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 Dmitry Sharshakov 2023-01-15 10:17:16 UTC
SUMMARY
OSD for volume change is not displayed when volume is being adjusted from the headset. However, that change can be monitored for using PulseAudio API.

STEPS TO REPRODUCE
1. Use a BT headset with PipeWire and absolute volume on
2. Press the volume up keyboard key. Get an OSD
3. Press the volume up headset button. No OSD

OBSERVED RESULT
OSD not displayed when using headset controls. However, `pactl subscribe` shows:

```
Event 'change' on sink #11374
Event 'change' on source #11374
Event 'change' on sink #11374
Event 'change' on source #11374
Event 'change' on sink #11374
Event 'change' on source #11374
Event 'change' on sink #11374
Event 'change' on source #11374
```

EXPECTED RESULT
Get OSD when adjusting volume on headset (just like in Android)

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2024-01-24 04:40:13 UTC
This seems already implemented as of plasma 6. If I set the headphones as the default output device, and press the volume up headset button, I see the OSD.