Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Multimedia keys are ignored while focus is on Calc from LibreOffice.

Media keys work in foobar when it's focused, also while other programs are focused.

I use Windows 7 Home Premium SP 1. My Foobar version is 1.3.2.

Media keys are from Lenovo laptop keyboard (g550 model 20023) with standard keyboard driver PS/2, version 6.1.7601.17514.

Multimedia keys work perfectly for Winamp, also while Calc is focused. With both Foobar2000 and Winamp running only Winamp reacts to multimedia keys. This problem is considered to be a LibreOffice bug ( https://bugs.freedesktop.org/show_bug.cgi?id=32664 ) though Winamp found workaround.

I followed instruction from http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Preferences:General:Keyboard_Shortcuts#Multimedia_keys and http://www.hydrogenaudio.org/forums/index.php?showtopic=50067 what fixed some other issues (Winamp seems to have higher priority in receiving keypresses, and it blocked foobar2000 from receiving information that multimedia key was pressed).

share|improve this question
1  
This old bug has never been fixed and no workarounds were ever found. I think you will either have to live with it or use an alternate free office suite such as Kingsoft Office. –  harrymc May 21 at 5:59
    
@harrymc I will probably switch back to Winamp as MP3 player and keep Foobar for MP3 management. I wonder why Winamp works properly - is there some order in which programs receive keypresses? –  Bulwersator May 21 at 7:45
1  
There is an order, as the event handlers form a chain and a handler can "eat" the event or pass it on. Libre/OpenOffice probably chains at the beginning and Winamp as well. So invoking the two products at the right order might help (or not). –  harrymc May 21 at 8:41
    
@harrymc Is it somehow possible to change this event handler chain? I guess that it requires modification of at least program, but maybe... –  Bulwersator May 22 at 18:38
    
You would need to write a program in C/C++/C# that does global system hooking. See for starters the Microsoft article on Hooks. –  harrymc May 22 at 19:18

1 Answer 1

up vote 1 down vote accepted
+50

This is an old bug that was reported several times for OpenOffice and LibreOffice :

Bug 32664: Keyboard volume keys don't work when LibreOffice is in focus (2010)
[Issue] Keyboard volume keys do not work when OOo is open (2009)
[Issue] Multimedia Keys in Windows and Openoffice (2009)
Issue 99520 – malfunction of multimedia keyboard (2009)

This bug has never been fixed and no workarounds were ever found.

I think you will either have to live with it or use an alternate free office suite such as Kingsoft Office.

You have also remarked that Winamp is equally aggressive in taking over these keys, so it succeeds in taking them back from OpenOffice/LibreOffice.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.