Bug 53504 - Heading styles (Heading 1, Heading 2, etc ) lose bold formatting.
Summary: Heading styles (Heading 1, Heading 2, etc ) lose bold formatting.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Writer-Styles-Heading
  Show dependency treegraph
 
Reported: 2012-08-14 19:51 UTC by TJT
Modified: 2020-02-21 12:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document illustrating the drop of bold attributes on heading text. (15.64 KB, application/vnd.oasis.opendocument.text)
2012-08-14 19:51 UTC, TJT
Details
A file demonstrating this bug (19.19 KB, application/vnd.oasis.opendocument.text)
2018-03-18 14:28 UTC, eladhen2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TJT 2012-08-14 19:51:57 UTC
Created attachment 65563 [details]
Sample document illustrating the drop of bold attributes on heading text.

Problem description: 

Manually bolding then unbolding (using ctrl b) in paragraph text will cause subsequent headings to lose the bold attribute.


Steps to reproduce:
1. Open a new document
2. Select Heading 1 from the styles
3. Type a heading (it will be bold)
4. Press enter for a new paragraph (style will be Text Body)
5. Type some lines.  Press ctrl-b to start bold, type some more, then ctrl-b to stop bold and type some more.
6. Press enter for a new paragraph
7. Select Heading 2 from the styles
8. Type (heading will not be bold).

Current behavior:

Headings are not bold even when their style says they should be.

Expected behavior:

Headings should adhere to their styles.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6) Gecko/20120714 Firefox/10.0.6
Comment 1 TJT 2012-08-17 17:53:09 UTC
As far as I recall, it affects all platforms I use (Linux 32 and 64bit, and windows).
Comment 2 royerjy 2012-12-16 17:51:38 UTC
Confirmed with 3.6.4 and 4.0.0.beta1 on XP SP3, with new documents.
Comment 3 Jorendc 2014-06-25 15:44:38 UTC
Still repro Version: 4.4.0.0.alpha0+
Build ID: 2e01d1bc5cd5186973d0451e8e9beaf3a924bcea

Kind regards,
Joren
Comment 4 TJT 2015-06-05 19:46:45 UTC
Probably same issue as in bug 69495.
Also, appears to be fixed in LO 5 beta 1. (Tested against RHEL6 x64).  Can someone verify and close?
Comment 5 QA Administrators 2016-09-20 09:46:14 UTC Comment hidden (obsolete)
Comment 6 eladhen2 2018-03-18 14:28:59 UTC
Created attachment 140684 [details]
A file demonstrating this bug

This bug seems to be hard to reproduce. I don't get it most of the time, but this file demonstrates it. Just type a new line (sorry, it's Hebrew, but you can write in English and it would show regardless) and apply Heading 1 style. It won't be bold.

This seems to be some formating bug because when copying the text with formatting into a new document, the new document still demonstrates this bug.
Comment 7 Kathleen 2018-11-29 08:45:36 UTC
The bug is not reproduced in version below

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded
Comment 8 QA Administrators 2019-11-30 03:38:12 UTC Comment hidden (obsolete)
Comment 9 sdc.blanco 2020-02-21 12:50:00 UTC
(In reply to eladhen2 from comment #6)
> this file demonstrates it. Just type a new line (sorry, it's Hebrew, 
> but you can write in English and it would show regardless) and apply 
> Heading 1 style. It won't be bold.
Using attachment 140684 [details]

1.  Hit return, click on Heading 1 (in empty paragraph), then type.  Text appears with Heading 1 attributes (i.e., bold, etc.).

2.  Follow procedure described, add a line, then apply Heading 1.  It is not bold as reported. But, now select the added line and Format -> Clear Direct Formatting  (now the line appears in bold with Heading 1 attributes).

In other words, the test case does not really show any bugs. The "missing bold" was because of direct formatting applied to the text in the "next line".

Also, cannot reproduce the original STR.

Tested with:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: cf96cb11e2a46c452a273ded1c66c556118983cf
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: en-US (en_DK); UI-Language: en-US
Calc: threaded

In combination with comment 7, closing as WFM.