| Summary: | Function Suggestion: hotkey contains 'serial' key combinations | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Jeffrey Mao <yjmau63> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | dgp-mail, heiko.tietze, sdc.blanco, xvids121, yjmau63 |
| Priority: | medium | ||
| Version: | 7.4.5.1 release | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Windows (All) | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=115052 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 41560 | ||
|
Description
Jeffrey Mao
2023-02-01 10:44:31 UTC
Shortcuts are indeed badly implemented and lack, for example, of locale, non-ASCII keys (bug 115052, UI redesign at bug 115527). The implementation defines an accelerator including modifier keys like "KEY_MOD1 | KEY_F" (see cui/source/customize/acccfg.cxx) and allows to bind this as F_MOD1 to any UNO command in officecfg/registry/data/org/openoffice/Office/Accelerators.xcu. There is no room for sequences. And your own styles don't have a UNO command assigned. Besides the need to improve the internal key handling from ground I don't see sequences as a good solution. It works for mnemonics where you press alt+F+O to open a document. But these mnemonics are clearly visible via underlined keys (depending on OS/DE). Sequences make things overly complex. At least under Windows, the Ctrl Key combinations are one-time-presses without gui support and the Alt-combinations are sequencial with GUI support: Pressing the keys traverses the menus. Thus, you can also access styles, even custom ones, that get a keyboard shortcut assigned as soon as they are added to the menus: e.g. when I create a style called "supercustomstyle" and add this to the styles menu (vis tools/customize), I can now press alt→y→p (since it automatically gets resolved to "p", since "s" and "u" are already taken) Thank you all for your suggestions that help me to work around. Yes, I'd been trying casicated menu items, eg., (S)tyles/I(n)dentTexts/None(0), 0.5cm(1), 1cm(2), 1.5cm(3)... Learning from all your ideas, that perfectly solves my needs! Thanks! Both to you and the great LibreOffice community. Sincerely, Jeffrey Mao (In reply to Jeffrey Mao from comment #3) > Learning from all your ideas, that perfectly solves my needs! > Thanks! Both to you and the great LibreOffice community. So let's close report. We discussed the topic in the design meeting. On the pro, such a feature could help people with a large number of shortcuts, the hierarchy makes it easier to remember, and would be comprehensible as an user-option. The cons are: hard to customize, feedback unclear, burden of implementation and maintenance, restriction not so simple, eg. ctrl+s followed by ctrl+o possible? It would be great if it could be realized per extension. But should remain open as a legitimate request. *** Bug 140873 has been marked as a duplicate of this bug. *** |