Bug 159724 - The "No Character Style" list entry should always be offered in the SB "Character Styles" content panel, even if only the "Applied Styles" is the selected UI mode
Summary: The "No Character Style" list entry should always be offered in the SB "Chara...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.1 rc
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Styles
  Show dependency treegraph
 
Reported: 2024-02-14 21:43 UTC by Adalbert Hanßen
Modified: 2024-02-28 10:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot to dieplay how to use the dialog (64.69 KB, image/png)
2024-02-28 10:16 UTC, Adalbert Hanßen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adalbert Hanßen 2024-02-14 21:43:52 UTC
This problem arises in LibreOfficeWriter

Version: 24.2.2.0.0+ (X86_64) / LibreOffice Community
Build ID: 46169670ef4031888e143823b263577296d7867f
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

But I also encountered it in older versions. (sorry, 24.2.2.0.0 was not offered in the bug report drop-down list, I selected another one close to that). 

Below the F11-function to select character styles, one can select categories, e.g. All Styles, All User defined ones or all Applied Styles shall be displayed for the choice to be taken from.

Of course, Applied Character Styles is the most used one, since one should stay with a few carefully chosen character styles only, almost all formatting should be done by the paragraph styles (and direct formatting should be avoided at all).

In general No Character Style happens "almost everywhere" in a properly formatted document with a few exceptions only, since in the first place the styles from the paragraph styles should be used "almost everywhere".

If one wants to revert an improperly applied character style, unfortunately "No Character Style" is not offered, when "Applied styles" are selected.

This is very cumbersome since one has to temporarily change what shall be offered - and "No Character Style should" always be offered in the selection, no matter what else the selection is restricted to (even in "User defined Styles" is the restriction: despite the fact that "No Character Style" definitely is not a user defined style).
Comment 1 V Stuart Foote 2024-02-14 22:16:10 UTC
+1

As corollary to the 'Default Paragraph Style' for paragraphs, agree always exposing the 'No Character Style' on the the 'Character Styles' content panel of  Styles SB deck <F11> would be better UX.

Any reason we couldn't?
Comment 2 Heiko Tietze 2024-02-15 09:17:43 UTC
+1
Comment 3 Tex2002ans 2024-02-20 23:52:13 UTC
Yep, full agree.
Comment 4 Adalbert Hanßen 2024-02-28 10:16:01 UTC
Created attachment 192844 [details]
screenshot to dieplay how to use the dialog

For those who desperately need this function: You can, for example, associate Shift-Ctrl-M with NoCharacterStyle as shown in the attached screenshot. I think Shift-Ctrl-M is a good choice for this function because Ctrl-M is already associated with Clear (direct formatting). Removing all character styles is something like the more powerful version of it.

Being able to associate it with a shortcut doesn't render the suggestion at the beginning of this thread obsolete: If you are teaching someone LO Writer, you should see this option in the GUI in all situations. Of course, it would be particularly good if the list of character styles also displayed the shortcut after the name of each character style to which a shortcut is assigned - or, like the black box with mouseover, if the buttons on the toolbars also displayed an assigned shortcut next to the function name. Such a black box is already available in the Character Styles selection dialog, but it is redundant: it only repeats the name of the element to which the mouse pointer is currently pointing. Adding the shortcut would give it a real benefit.