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

--- Comment #3 from Michael Meeks <michael.me...@novell.com> ---
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 :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to