| Summary: | Always block editing of „No Character Style“, also at inherit-from | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Martin Sourada <martin.sourada> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | heiko.tietze, mikekaganski, telesto |
| Priority: | medium | ||
| Version: | 7.3.6.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108014 | ||
|
Description
Martin Sourada
2022-11-03 09:52:25 UTC
No CS means what it says: the text takes all attributes from the paragraph style. We just show the entry in the list of CS as a way to remove the applied CS. See also bug 140818 for a recent renaming. "No Character Style" is not a style and cannot apply attributes to the text. => NAB (In reply to Heiko Tietze from comment #1) > No CS means what it says: the text takes all attributes from the paragraph > style. We just show the entry in the list of CS as a way to remove the > applied CS. See also bug 140818 for a recent renaming. > > "No Character Style" is not a style and cannot apply attributes to the text. > => NAB Except that it doesn’t. It's actually possible to edit parameters of the No Character Style while it shouldn’t. Please try the steps from OP. Also it’s worth noting that it does not survive save/open which suggests that the capability is unintentional. Heiko, I agree with Martin. I'm not sure, if we understand problem in the same way Steps: 1. Open a document and CS in sidebar 2. Select any CS (for example "Definition") -> NEW or MODIFY 3. Open dropdown list in "Inherit from" Actual result: You can choose "No character style" Expected result: "No character style" shouldn't be part of the list 4. Select "No character style" and press "Edit Style" (Inherit changes to "-None-" and "No character style" is not longer part of the list) => Back to UNCONFIRMED Additional information: I also don't see the need, why "No character style" has "New" as entry in context menu. True, the "No CS" should not be offered as a parent, drag 'n drop onto it needs to be blocked, and - most important - the Edit Style function in the inheritance dialog needs to be disabled for "No CS" (might not be needed if No CS is not shown anymore). Sorry for overlooking the "(should)n't" ;-) |