Bug 137826

Summary: weird Heading 4
Product: LibreOffice Reporter: TorrAB
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: raal, telesto, vsfoote
Priority: medium    
Version: 7.0.1.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=135871
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: file with textbody to change
screenshot of result
Example file more reduced

Description TorrAB 2020-10-28 15:29:30 UTC
Description:
In badStyl4, click ‘Charge résistive’, hit ^4 (or double-click Heading4 in the style list) to make it Heading4, get weird result with 3 different fonts —screenshot.


Steps to Reproduce:
1.In badStyl4, click ‘Charge résistive’
2.hit ^4 (or double-click Heading4 in the style list) to make it Heading4

Actual Results:
Not Heading4 format

Expected Results:
Heading4


Reproducible: Always


User Profile Reset: Yes



Additional Info:
none
Comment 1 TorrAB 2020-10-28 15:33:32 UTC
Created attachment 166811 [details]
file with textbody to change
Comment 2 TorrAB 2020-10-28 15:35:05 UTC
Created attachment 166812 [details]
screenshot of result
Comment 3 Telesto 2020-10-29 06:55:11 UTC
Created attachment 166826 [details]
Example file more reduced
Comment 4 Telesto 2020-10-29 06:59:12 UTC
It's hidden direct formatting.. remove all direct formatting and it will work
Comment 5 raal 2020-12-30 00:31:07 UTC
(In reply to Telesto from comment #4)
> It's hidden direct formatting.. remove all direct formatting and it will work

Can the bug be closed?
Comment 6 TorrAB 2020-12-30 20:12:06 UTC
(In reply to Telesto from comment #4)
> It's hidden direct formatting.. remove all direct formatting and it will work

OK. But… what is ‘hidden direct formatting’? How/why would I do it if I cannot see it?
Comment 7 Telesto 2020-12-30 20:26:50 UTC
(In reply to TorrAB from comment #6)
> (In reply to Telesto from comment #4)
> > It's hidden direct formatting.. remove all direct formatting and it will work
> 
> OK. But… what is ‘hidden direct formatting’? How/why would I do it if I
> cannot see it?

The style Inspector (LibreOffice 7.1) is able to show the issue. The C is formatted with a specific Direct Character formatting. 

However no clue how this exactly happened.. I think

Selecting C.. Changing font size to say 16, and revert it back to 12. So more or less what's debated in bug 135871

Except in this case not about highlighting or bold, but font size