[Libreoffice-ux-advise] [Bug 158355] Support per-platform/per-desktop-environment variation of keyboard shortcuts

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 24 15:30:59 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=158355

--- Comment #5 from V Stuart Foote <vsfoote at libreoffice.org> ---
(In reply to Eyal Rozenberg from comment #4)

> > In fact we already distinguish accelerators/mnemonics from true
> > Shortcuts--both would have to be addressed in any os/DE/locale templating.
> 
> I'm not sure I understand what you mean.

Well IIRC, Shortcuts are defined (and parsed) for strings [1], while mnemonics
are defined (and localized) within the .UI XCU for specific UI components [2]

Shortcuts are more stable, and in general will be notated in source with a "~";
mnemonics/accelerators are somewhat dynamic and in addition to semi-fixed in
XCU are allocated/generated at compile time, they will be notated in source
with a "_".

=-ref-=
[1]
https://opengrok.libreoffice.org/xref/core/include/sfx2/strings.hrc?r=1f440348
[2]
https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu?r=a18174e8

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list