Bug 500129 - Volume OSD no longer shows up when changing the volume with bluetooth headphone volume buttons.
Summary: Volume OSD no longer shows up when changing the volume with bluetooth headpho...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Audio Volume widget (show other bugs)
Version: 6.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 500148 500246 500278 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-02-15 13:13 UTC by kimimaru
Modified: 2025-02-19 23:55 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kimimaru 2025-02-15 13:13:44 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I have a pair of Bose QC35II headphones connected with bluetooth. In Plasma 6.2.5, when I changed the volume with the headphone volume buttons, the OSD came up showing the new audio level. After upgrading to Plasma 6.3, the volume changes but the OSD doesn't show up any longer.

STEPS TO REPRODUCE
1. On Plasma 6.3, connect bluetooth headphones with volume buttons.
2. Once connected, press a volume button to raise or lower the volume.

OBSERVED RESULT
The volume changes but no OSD shows up with the new volume like it does when changing the volume with the keyboard.

EXPECTED RESULT
The volume changes and the OSD shows up with the new volume.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS | Kernel: 6.13.2-arch1-1 (64-bit)
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Graphics Platform: Wayland
Comment 1 Harald Sitter 2025-02-15 16:09:41 UTC
That's intentional https://invent.kde.org/plasma/plasma-pa/-/commit/ad4a17b49d8d2a81a462d115f6b5c0b3dcdcef3f

The problem is that we don't know what caused the volume to change. Another piece of software with UI or a hardware key.

That said, David had an idea for better handling.
Comment 2 kimimaru 2025-02-15 18:33:55 UTC
Thanks for the clarification; I understand the reason for the removal. Could there be an option to enable this again? It really helps me to know what volume the system is at after pressing those buttons on the headphones. Right now it's very cumbersome as I need to check the volume level manually after pressing the buttons.

Can you share what idea David had for handling this?
Comment 3 Ismael Asensio 2025-02-16 00:13:42 UTC
*** Bug 500148 has been marked as a duplicate of this bug. ***
Comment 4 EpicTux123 2025-02-16 00:23:25 UTC
I believe the comment should be reverted. In my opinion, the OSD show be shown every time the volume is changed.

Setting to CONFIRMED.
Comment 5 EpicTux123 2025-02-16 00:23:54 UTC
Sorry, I meant "commit" instead of "comment". Also, please see https://bugs.kde.org/show_bug.cgi?id=500148 for additional usage in regards to the OSD.
Comment 6 Ismael Asensio 2025-02-17 10:59:15 UTC
*** Bug 500246 has been marked as a duplicate of this bug. ***
Comment 7 Bug Janitor Service 2025-02-17 12:41:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/326
Comment 8 David Redondo 2025-02-17 13:15:02 UTC
Git commit 9d5604a90960ec25e7094ac93eb67db970b30be3 by David Redondo.
Committed on 17/02/2025 at 12:39.
Pushed by davidre into branch 'master'.

Revert "Only show osd on global shortcuts or scrolling the applet"

This reverts commit ad4a17b49d8d2a81a462d115f6b5c0b3dcdcef3f.
This breaks showing the OSD on bluetooth volume changes. This is a
behavior we want even if not identical to the before times.
FIXED-IN:6.3.1

M  +7    -0    src/kded/audioshortcutsservice.cpp

https://invent.kde.org/plasma/plasma-pa/-/commit/9d5604a90960ec25e7094ac93eb67db970b30be3
Comment 9 David Redondo 2025-02-17 13:17:34 UTC
Git commit a7e367d0203ec73a85dbbc45b4dfe1bc818e8a97 by David Redondo.
Committed on 17/02/2025 at 13:17.
Pushed by davidre into branch 'Plasma/6.3'.

Revert "Only show osd on global shortcuts or scrolling the applet"

This reverts commit 8b36d4af74bcea3edcc96ec42fa3d9dd7a98cd09.
This breaks showing the OSD on bluetooth volume changes. This is a
behavior we want even if not identical to the before times.
FIXED-IN:6.3.1


(cherry picked from commit 9d5604a90960ec25e7094ac93eb67db970b30be3)

Co-authored-by: David Redondo <kde@david-redondo.de>

M  +7    -0    src/kded/audioshortcutsservice.cpp

https://invent.kde.org/plasma/plasma-pa/-/commit/a7e367d0203ec73a85dbbc45b4dfe1bc818e8a97
Comment 10 cwo 2025-02-17 20:25:23 UTC
*** Bug 500278 has been marked as a duplicate of this bug. ***