[Libreoffice-bugs] [Bug 32664] EasyHack: Keyboard volume keys don't work when LibreOffice is in focus

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 5 04:29:17 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=32664

--- Comment #22 from Charles Stevens <chazste at yahoo.com> 2012-04-04 19:29:17 PDT ---
First comments 11 and 12 correctly identify the origin of this bug.

Second, this is only an EASYHACK if you are willing to live with the bug
pointed to in comment 11. Basically, the fix was to change "return false;" to
"return true;" If you change it back, this bug will go away, and the original
bug will come back.

The correct fix for this is to KNOW when handling WM_APPCOMMAND whether the LO
app will/did "handle" the message and return that value. i.e. for Impress
Next/Prev keys should advance or rewind the presentation by one slide (not two)
and your music should not advance to the next track if LO has focus. If you are
working on a spreadsheet or document and press Play/Pause LO should do nothing,
return false and your music should pause. Unfortunatly, the place that returns
true/false does not know if the message was actually handled, or just is
theoretically handled by LO.

I would be happy to fix this bug, but for whatever reason, I am unable to build
LO. I followed the directions, and the build failed spectacularly. I "fixed"
that issue, and it just failed again later in a less obvious way.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list