Bug 143807

Summary: XF86Audio* keys cannot be used for Input Actions (global shortcuts)
Product: [Unmaintained] kdelibs Reporter: Konstantin Svist <svist>
Component: shortcutsAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: christoph, faure, fry.kun, kde
Priority: NOR    
Version First Reported In: 4.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Konstantin Svist 2007-04-03 21:16:32 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Fedora RPMs

Steps to reproduce the problem:

1) Set up a keyboard and appropriate layout so that XF86Audio* keys are recognized. I use Dell Inspiron E1505 (a.k.a. 6400), and the layout "Dell Inspiron 6xxx/8xxx"

2) Open Control Center and go to "Regional & Accessibility" -> "Input Actions". Create a New Action. Select Action type "Keyboard Shortcut -> DCOP Call (simple)"

3) In DCOP Call Settings tab, select an application to be controlled. I use Remote application "amarok", Remote object "player", and Called function "next" (tell Amarok to advance to the next song in the playlist)

4) In Kyeobard Shortcut tab, set up one of the XF86Audio* keys. I use XF86AudioNext.

5) Apply the settings and try pressing the assigned key. Nothing happens (this is the bug)

6) To demonstrate that other key presses work just fine, assign the keyboard shortcut to something else, like "Alt+N". Apply the settings and verify that the shortcut works.
Comment 1 Rolf Eike Beer 2009-03-13 15:44:39 UTC
Same here using a Toshiba A110-178. The point is: the key presses are tracked when you use it to assign that key to the action. But never again. Even more strange: some keys (for me XF86AudioPlay) just works.
Comment 2 Rolf Eike Beer 2009-03-13 16:05:24 UTC
Reassigning to kdelibs as kglobalaccel is likely involved or guilty.
Comment 3 Mathias 2009-04-14 23:24:56 UTC
(In reply to comment #1)
Same here on a desktop i636 with keyboard w/ multimedia keys. kde 3.5.9 on gentoo (2.6.26-r3).
BUT: the function stopped working just recently (possibly after the update of a certain kde component). in the control center the keys are recognized correctly as XF86* (Audio*, Favorites, Next etc.) but the assigned action is just not executed. other shortcuts like combinations with alt or win work.
Comment 4 Rolf Eike Beer 2009-04-15 09:53:21 UTC
Maybe I should note: I'm using 4.2.2.
Comment 5 Mathias 2009-04-19 00:04:27 UTC
(In reply to comment #3)
> (In reply to comment #1)
after the last global update, it magically all works again. so no confirmation for 3.5.9 on gentoo anymore.
Comment 6 Michael Jansen 2009-12-09 15:26:44 UTC
I do not work on kde 3.x problems. If anyone here has still a problem with kde 4.x please open a new bug. Please note that we will fix many multimedia keys not supported bugs with commit 1060011 in kde 4.4 .
Comment 7 Christoph Cullmann 2024-07-11 19:46:48 UTC
I think that works now upstream, please re-open if not, thanks.