https://bugs.kde.org/show_bug.cgi?id=449527

            Bug ID: 449527
           Summary: Volume Buttons do not work unless Audio Volume widget
                    is on the desktop
           Product: plasma-pa
           Version: 5.23.5
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: applet
          Assignee: plasma-b...@kde.org
          Reporter: landon.carbe...@gmail.com
                CC: m...@ratijas.tk, now...@gmail.com
  Target Milestone: ---

-------------Steps to Reproduce-------------
1. Make sure that the Audio Volume widget is not on the desktop.
2. Press either volume key on the keyboard (on mine, Function+3 to decrease,
Function+4 to increase).
3. Observe the fact that absolutely nothing has happened.

-------------Observed Result-------------
Nothing happens.

-------------Expected Result-------------
Volume changes up or down.

-------------Software/OS Versions-------------
Linux/KDE Plasma: Manjaro 21.2.2 & Kubuntu 20.04 LTS
KDE Plasma Version: 5.23.5 & 5.18 LTS
KDE Frameworks Version: 5.90.0 & 5.68 LTS
Qt Version: 5.15.2 & 5.12 LTS

-------------Additional Information-------------
This happened on an earlier installation of Kubuntu 20.04 LTS, and is still
happening on my current Manjaro 21.2.2 installation. All audio works perfectly,
and volume can be changed via Audio Volume on the system tray, both by dragging
the slider and by scrolling while hovering over the icon. However, the volume
buttons on the keyboard do nothing. When I put the Audio Volume widget on the
desktop, the buttons will cause the volume to change. Once it starts working,
it continues to work, even through reboots, until the second I remove Audio
Volume from the desktop. This problem has never happened on other operating
systems on this same laptop (Linux, FreeBSD, Windows, even Android-x86. Yeah. I
was curious).

-------------Possible Solutions------------
After reading issue #391,578, where it is explained that Audio Volume shortcuts
go to the most recent instance of the plasmoid, even if that instance no longer
exists, I think that there are three possible solutions:

1) Send Audio Volume shortcuts to all instances - a simple fix, but it may end
up making problems for people with several audio devices active at the same
time.

2) Have plasmashell receive Audio Volume shortcuts, and send them to the most
recent instance that still exists. This could be nice, but it's a little
roundabout.

3) Have kded handle Audio Volume shortcuts, and send them to the most recent
instance that still exists. This could be nice, but it's a little roundabout.

If any committers have some input for me, I'd be glad to make this my first
Linux contribution!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to