Bug 160383 - Keyboard shortcut for spotlighting styles
Summary: Keyboard shortcut for spotlighting styles
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-27 04:24 UTC by Shantanu
Modified: 2024-03-27 06:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shantanu 2024-03-27 04:24:19 UTC
Description:
"Styles Spotlighting" is an awesome feature in writer.

https://help.libreoffice.org/latest/en-US/text/swriter/01/spotlight_styles.html

But there is no default keyboard shortcut nor any way to set custom shortcut.

Steps to Reproduce:
From the sidebar: Open the Styles deck, mark Spotlight check box.

Actual Results:
No menu option or keyboard shortcut to access this feature.

Expected Results:
Keyboard shortcut


Reproducible: Always


User Profile Reset: No

Additional Info:
Please add a default shortcut or let the user set one.
Comment 1 Mike Kaganski 2024-03-27 05:07:10 UTC
(In reply to Shantanu from comment #0)
> But there is no ... way to set custom shortcut.

This is not correct. In Writer, open Customize->Keyboard; start typing "spot" in the "Functions" filter box (making sure that "All commands" is selected in the "Category" list box). The "Function" list box will show three items: "Spotlight Character Direct Formatting" (.uno:HighlightCharDF); "Spotlight Character Styles" (.uno:SpotlightCharStyles); and "Spotlight Paragraph Styles" (.uno:SpotlightParaStyles).

Should it be resolved "NOTABUG"?
Comment 2 Stéphane Guillou (stragu) 2024-03-27 06:34:58 UTC
(In reply to Mike Kaganski from comment #1)
> Should it be resolved "NOTABUG"?
Agreed. The UNO commands were added in 7.6 (.uno:HighlightCharDF) and 24.2 (.uno:SpotlightParaStyles and .uno:SpotlightCharStyles) so are now available to assign in the Customize dialog. They are also in the menu: Format > Spotlight.

We can't assign a shortcut to every single command. But if there's demand, and a sensible available key combination is suggested / one exists in other apps (does MS Office have one for its Style Guides?), we can of course revisit.