Bug 126186 - Partially applied text style (Text Body)
Summary: Partially applied text style (Text Body)
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-02 02:59 UTC by Evan Greenup
Modified: 2020-02-02 03:40 UTC (History)
0 users

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 Evan Greenup 2019-07-02 02:59:21 UTC
When setting a paragraph to Default Style or Text Body (Both of them are not bold). However, after switching from Heading 1. The text body in the new paragraph become bold though neither Default Style nor Text Body is bold.

The only way to switch back to regular font is to click Bold Checkbox manually. 

There seems to be some bugs in style applying mechanism.
Comment 1 Mike Kaganski 2019-07-02 03:53:57 UTC
Please provide a sample document to reproduce this.

I suppose that it might be that you have a manually applied bold character formatting, which would of course stay after you apply paragraph style, and have higher priority. In this case, clearing direct formatting for the text prior to performing your steps would resolve the issue; this wouldn't be a bug, but an expected behavior.
Comment 2 Mike Kaganski 2019-07-02 03:57:51 UTC
(In reply to Mike Kaganski from comment #1)
> In this case, clearing direct formatting for the text prior to performing
> your steps would resolve the issue

... or after the steps - no matter when.
Comment 3 Evan Greenup 2019-07-04 23:49:41 UTC
(In reply to Mike Kaganski from comment #1)
> Please provide a sample document to reproduce this.
> 
> I suppose that it might be that you have a manually applied bold character
> formatting, which would of course stay after you apply paragraph style, and
> have higher priority. In this case, clearing direct formatting for the text
> prior to performing your steps would resolve the issue; this wouldn't be a
> bug, but an expected behavior.

No the only place which firstly involved Bold is the Heading 1 line. when finished typing heading 1. I just type enter in the previous version of LibreOffice, it just simply become text body style. But in this version, all the other format option switch to text body style except bold. I am wondering if there is something wrong in control logic of bold.
Comment 4 Mike Kaganski 2019-07-05 00:05:01 UTC
(In reply to Evan Greenup from comment #3)

Try these  steps:
1. Create a new text document in Writer.
2. Set current paragraph style to Heading 1 (using "Set Paragraph Style" control on Formatting toolbar, or Styles sidebar (F11), or default combination of Ctrl+1).
3. Type "Heading", note that it's bold.
4. Press Enter to start new paragraph; note that its style is Text Body.
5. Type "Text", note that it's not bold.
6. Press Enter; set the new paragraph style to Heading 1 again
7. Press Ctrl+B (or toolbar's button Bold) *twice*: first removes bold, second applies bold;
8. Type "Heading", note it's bold;
9. Press Enter to start new paragraph; note that its style is Text Body.
10. Type "Text", note that it's *bold* now.

This is the correct behavior. On step 7, you applied *direct character formatting* on top of paragraph style; and when you started another paragraph, with a different paragraph style, it didn't cancel the *direct character formatting*.

Now again: please provide a sample document.
Comment 5 QA Administrators 2020-01-02 03:25:33 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-02-02 03:40:50 UTC
Dear Evan Greenup,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp