Bug 476568 - Play/Pause, Previous or Next Track buttons don't work
Summary: Play/Pause, Previous or Next Track buttons don't work
Status: REPORTED
Alias: None
Product: frameworks-kglobalaccel
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.111.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-05 03:32 UTC by Logan Turner
Modified: 2023-11-09 20:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The screenshot here shows multiple entries for the same buttons. (182.15 KB, image/png)
2023-11-05 03:32 UTC, Logan Turner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Logan Turner 2023-11-05 03:32:40 UTC
Created attachment 162873 [details]
The screenshot here shows multiple entries for the same buttons.

The media keys bug (https://bugs.kde.org/show_bug.cgi?id=403636) has seemingly reappeared in the latest KDE Plasma release. Upon login, media keys are detected and funtion normally. However, after closing the app and reopening it or another media player, the keys stop responding. I have tested this with both my Keychron K2 V2 keyboard and JBL T660NC headphones. For some reason, there are multiple entries for playing and pausing media. Changing these shortcuts does not affect the bug as it persists regardless. These keys were fully functional in the previous version.

System info:
OS: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Locale: en_NZ.UTF-8
Kernel: 6.5.8-zen1-1-zen
CPU: Intel Core i5-1135G7 (4C 8T)
GPU: Intel Iris Xe (80 exe. units)
Memory: 16GB 3200MHz DDR4 SODIMM (2x 8GB)
System: HP ProBook 430 G8 (567F3PA)

STEPS TO REPRODUCE
1. Open media app and play media
2. Press the Play/Pause, Previous or Next Track buttons
3. Check if the media player reacts. Retry using the software UI.

OBSERVED RESULT
Media playback can be controlled using the software GUI, but not using the media keys (I have checked that FN lock is disabled, and the other system keys work as normal. 

EXPECTED RESULT
The physical media keys control media playback properly, as they did in 5.27.8.
Comment 1 Nate Graham 2023-11-09 20:55:15 UTC
Do you by any chance have multiple Audio Volume widgets, or multiple System Trays?
Comment 2 Logan Turner 2023-11-09 20:59:49 UTC
(In reply to Nate Graham from comment #1)
> Do you by any chance have multiple Audio Volume widgets, or multiple System
> Trays?

No. This shouldn't be affected by volume controls as media controls are a seperate issue, and the settings for them have since been integrated into the System Settings app.