[Bug 54169] LibO doesn’t obey OS setting “only show the accelerator underline when the Alt key is being pressed”
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 10 02:53:32 PDT 2015
https://bugs.documentfoundation.org/show_bug.cgi?id=54169
Samuel Mehrbrodt <s.mehrbrodt at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Whiteboard|easyHack skillCpp |easyHack skillCpp
|difficultyInteresting |difficultyBeginner topicUI
|topicUI |
--- Comment #18 from Samuel Mehrbrodt <s.mehrbrodt at gmail.com> ---
So, on Windows we need to check the registry for HKEY_CURRENT_USER\Control
Panel\Accessibility\Keyboard Preference
If the string value "On = 1", mnemonics should always be shown. Else they
should only be shown when the alt key is pressed.
Someone with a Windows build might do this as EasyHack.
This is the place where it should be enabled/disabled:
http://opengrok.libreoffice.org/xref/core/vcl/win/source/gdi/salnativewidgets-luna.cxx#193
Look here for how to enable/disable mnemonics:
http://opengrok.libreoffice.org/xref/core/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx#569
And check this for how to query the Windows registry:
http://opengrok.libreoffice.org/xref/core/vcl/source/window/toolbox.cxx#5649
Should be straight-forward.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150710/8fde7229/attachment.html>
More information about the LibreOffice
mailing list