Bug 106668 - Clarify help regarding Character styles (see comment 2)
Summary: Clarify help regarding Character styles (see comment 2)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
5.3.2.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: sdc.blanco
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-20 21:43 UTC by vermontpoet
Modified: 2020-03-12 16:27 UTC (History)
3 users (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 vermontpoet 2017-03-20 21:43:50 UTC
Description:
Attempting to apply a "Superscript" Style to a single highlighted word doesn't work as described in Libre Office's help manual:

"Select the text. To apply a Character Style to one word, click the word. "

From here:

https://help.libreoffice.org/Writer/Styles_and_Formatting

For example, if in this paragraph I add a note (1), and want to apply a superscript style to (1), Libre will apply the style to (1) and the word "note" and random other words in the paragraph. It will also change the style of the entire paragraph without necessarily changing its appearance. Instead of being the "default" style, the style for the paragraph will be "superscript" even though only one or two words have been affected.

 

Steps to Reproduce:
1. Write a paragraph in the default style.
2. Apply a different style to any given and highlighted word within that paragraph and the entire paragraph will be changed.

Actual Results:  
Entire paragraph assumes the new style even if the word (as in the Help manual) is "clicked" or highlighted.

Expected Results:
Style is only applied to highlighted word.


Reproducible: Always

User Profile Reset: No

Additional Info:
If this is normal behavior. In other words, if it's not possible to apply styles to individual words or letters within a paragraph, then please revise your Help manual. 


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 LibreTraining 2017-03-20 22:40:39 UTC
Please attach a document which displays this behavior.

I just tested on 5.3.1.2 and it seemed to work fine.
- new document (Crtl+N)
- pasted your example paragraph from above
- highlighted first "(1)" clicked Superscript button, looks OK
- created a custom Character style called Superscript 
- style settings: checked Position Superscript, 9pt, based on nothing
- selected another "(1)" clicked on Superscript character style
- looks OK

No unexpected paragraph formatting appeared.
Cannot confirm.

Sooooo ... Please attach a document which displays this behavior.
Comment 2 vermontpoet 2017-03-20 22:58:39 UTC
Thanks for the quick reply. Turns out I was applying "paragraph" styles when I should have been applying character styles.

The only bug is in the help manual.

It currently reads:

How to apply a style:

1.) Select the text. To apply a Character Style to one word, click the word. To apply a Paragraph Style, click the paragraph.
2.) Double-click the style in the Styles and Formatting window.


This is inadequate. For clarity this should read:

How to apply a style:

Character Style:

1.) Select the text, word or letter. 

2.) Choose "Character Style" (the symbol 'A' (Text Symbol) in the Styles and Formatting side pane or window and double click the selected style from the list in the Styles and Formatting pane or window. 

Paragraph Style:

1.) Select or place the cursor in the paragraph. 

2.) Click the Paragraph Symbol in the Styles and Formatting side pane and double click the selected style from the list in the Styles and Formatting pane or window.
Comment 3 LibreTraining 2017-03-21 00:13:31 UTC
I agree, the instructions are very confusing.
Selecting and Applying are mixed-up.

You are not alone. 
Sometimes I read stuff five times and still don't know what it means. 

Hint: I have found that the online Help and the integrated Help are often different.
And one or the other has a better explanation.


OK. Going mark this Resolved.
Comment 4 Adolfo Jayme Barrientos 2017-03-25 21:55:57 UTC
Please do file bug reports about the help content (component is “Documentation”) or submit patches via Gerrit to the help repository. This repo is the source for help.libreoffice.org, so any change eventually goes to that site.
Comment 5 vermontpoet 2017-03-26 18:03:33 UTC
Are you asking me to open a new bug or is this sufficient?
Comment 6 Buovjaga 2017-04-05 12:52:42 UTC
Let's hijack this report for help improvement.
Comment 7 Commit Notification 2020-03-01 12:48:46 UTC
Seth Chaiklin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/f2a0ebccd289ae50a38def8beb38943579e94a62

tdf#106668  update help page about applying Styles
Comment 8 Commit Notification 2020-03-12 16:09:42 UTC
Seth Chaiklin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/4801c038bbd392c61f44d47f34c9302bc20d5931

tdf#106668  clarify how to apply styles
Comment 9 sdc.blanco 2020-03-12 16:27:34 UTC
The patch in comment #8 should resolve the issues in comment #2 and comment #3, so closing as FIXED.

The changes will be seen in:
https://help.libreoffice.org/7.0/en-US/text/swriter/01/05140000.html
(but it usually takes some days before the patch shows up online).

You are welcome to identify any remaining problems with that page here.