Bug 474531 - Global media playback shortcuts broken since DataEngine porting
Summary: Global media playback shortcuts broken since DataEngine porting
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Media Player widget (show other bugs)
Version: master
Platform: Other Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, regression
Depends on:
Blocks:
 
Reported: 2023-09-14 21:05 UTC by Nate Graham
Modified: 2023-09-18 17:03 UTC (History)
2 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 Nate Graham 2023-09-14 21:05:35 UTC
Since 88f8b43d3adf0250fbdba4fb1d08bfc07c9d686d, none of my global shortcuts for "Play/Pause media playback", Media Playback Next" and "Media Playback Previous" are working no matter which app is playing autio. Their shortcuts still appear in the Shortcuts KCM, but do nothing when pressed. The widget itself still works as expected, so it's not a problem ha the audio-playing app being registered incorrectly.
Comment 1 Fushan Wen 2023-09-15 07:33:35 UTC
Can you run screenkeys on X11 to make sure the key press is actually emitted?
Comment 2 Bug Janitor Service 2023-09-15 08:21:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3289
Comment 3 Nate Graham 2023-09-15 18:47:10 UTC
I can confirm that the keypresses are emitted. My shortcuts are Ctrl+Alt+{Left,Right,Spacebar}.
Comment 4 Fushan Wen 2023-09-16 02:13:09 UTC
Does searching for kglobalaccel return anything in Qt D-Bus Viewer?
Comment 5 Nate Graham 2023-09-16 04:33:46 UTC
Yes. But strangely, as I was debugging in dbus viewer, it started working. Will re-open if I see it happen again.
Comment 6 Fushan Wen 2023-09-18 17:03:18 UTC
Git commit 765363a63d096fed73dd6674652a534890d0c82e by Fushan Wen.
Committed on 18/09/2023 at 18:42.
Pushed by fusionfuture into branch 'master'.

libkmpris: test media keys

M  +1    -0    .kde-ci.yml
M  +8    -1    appiumtests/utils/mediaplayer.py
M  +7    -0    libkmpris/autotests/CMakeLists.txt
A  +181  -0    libkmpris/autotests/mediakeystest.py

https://invent.kde.org/plasma/plasma-workspace/-/commit/765363a63d096fed73dd6674652a534890d0c82e