Bug 464317

Summary: Show OSD when volume is changed externally (HW volume)
Product: [Unmaintained] plasma-pa Reporter: Dmitry Sharshakov <d3dx12.xx>
Component: appletAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: fanzhuyifan, me, nate, nowrep
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.