Summary: | LibreOffice doesn’t obey OS setting “only show the accelerator underline when the Alt key is being pressed” | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Samuel Mehrbrodt <s.mehrbrodt> |
Component: | UI | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | minor | ||
Priority: | medium | CC: | fitojb, jbfaure, libreoffice, qubit, s.mehrbrodt, valentin.stn |
Version: | 4.0.0.0.alpha0+ Master | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugzilla.gnome.org/show_bug.cgi?id=588554 | ||
Whiteboard: | EasyHack SkillCpp DifficultyInteresting | ||
i915 platform: | i915 features: |
Description
Samuel Mehrbrodt
2012-08-28 21:13:18 UTC
I do not reproduce with Version 3.7.0.0.alpha0+ (Build ID: 96fb245) Which build did you use? Your own build or a daily build? If it is your own build, I suggest you to make a fresh build (make clean the make dev-install) and try again. Best regards. JBF It is my own build. I did a fresh build last night and I still have this behavior. I guess we would need to add some VCL support for underline accelerators appearing only on alt keypress. I assume it's fine to continue to write Ctrl+O in the File menu against Open (eg.) ? :-) I guess that something like: void OutputDevice::DrawCtrlText( const Point& rPos, const XubString& rStr, xub_StrLen nIndex, xub_StrLen nLen, sal_uInt16 nStyle, MetricVector* pVector, String* pDisplayText ) Which has a nStyle that controls whether the mnemonic text is rendered or not would need some hackery - and clearly we'd need to trigger a re-draw of any controls that include such text as/when the user hits the Alt button in various dialogs. And we'd need a style-setting from the gtk+ backend / theme to detect whether or not to do that. It's quite do-able; Patches more than welcome :-) The method mentioned is here: http://opengrok.libreoffice.org/xref/core/vcl/source/gdi/outdev3.cxx#7088 Marking as ProposedEasyHack. Here's how GTK did this: https://bugzilla.gnome.org/show_bug.cgi?id=588554 *** Bug 58418 has been marked as a duplicate of this bug. *** Windows, Mac OS X and Gnome have this setting as default. I have seen only KDE that has the accelerator underline always there. adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility. see e.g. http://nabble.documentfoundation.org/minutes-of-ESC-call-td4076214.html for details Removing comma from whiteboard (please use a space to delimit values in this field) https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard#Getting_Started |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.