Bug 163653 - Add No Character Style on Applied Style character style filter
Summary: Add No Character Style on Applied Style character style filter
Status: RESOLVED DUPLICATE of bug 159168
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 07:37 UTC by grofaty
Modified: 2024-10-28 11:52 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 grofaty 2024-10-28 07:37:44 UTC
Description:
When I apply few of character styles in Writer I like to have "Applied Style" filter turned on. But on this filter there is no "No Character Style" pseudo style displayed. To remove previously manually applied style I have to constantly change filter from "Applied Style" to "All Styles" and back again.

My suggestion is, if at least some portion of text in document has no character style applied then in "Applied Styles" "No Character Style" should also be displayed.

Steps to Reproduce:
1. Open Writer.
2. In first line type: text1
3. Press Enter and type: text2
4. Select text2
5. On right site make sure side bar is visible and »Styles« selected. You can press Alt+2 to get there.
6. On top click on Character Styles icon.
7. Now scroll down to bottom and double click on »Variable« style. Second line »text2« word gets Variable character style and first line »text1« is without character style.
8. On bottom by default it is filter »All Styles«. Click on it and select »Applied Styles«.


Actual Results:
Now only »Variable« is displayed and all other styles get hidden.

Expected Results:
If we look at text1 in first line of text we know there was no character style applied on it, so I expect on right side alongside of »Variable« character style to also see »No Character Style«.


Reproducible: Always


User Profile Reset: No

Additional Info:
Currently I have to constantly change filter from »Applied Styles« to »All Styles« to get to »No Character Style« and back to applied styles.

My suggestion is to add »No Character Style« to the list of character styles if »Applied Styles« are selected and at least some text has no character style applied.

NOTE: I see right clicking on »No Character Style«, there is only »New« option displayed. But if I click on any other character style, there is also »Edit Style«. My understanding is that »No Character Style« is actually not a character style, but some kind of »pseudo style« and selecting it, it actually removes previously manually applied character style from selected text. It is more of »remove character style« functionality displayed on character style list. This is quite convenient, but not really clear to the first look. I would expect to at least this style to be in parentheses to indicate this style is something different then others.

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: sl-SI (en_SI); UI: en-US
Calc: CL threaded
Comment 1 V Stuart Foote 2024-10-28 11:52:21 UTC
Available at the 25.2 release. You can test with a nightly /a parallel install.

https://gerrit.libreoffice.org/c/core/+/171096

*** This bug has been marked as a duplicate of bug 159168 ***