[Libreoffice-bugs] [Bug 149135] Writer does not always apply styles correctly

2022-06-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149135

Timur  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #5 from Timur  ---
I close as NotABug. 

Maybe something else can be added to
https://wiki.documentfoundation.org/Faq/Writer/026.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149135] Writer does not always apply styles correctly

2022-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149135

Mike Kaganski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||6663

--- Comment #4 from Mike Kaganski  ---
When you apply paragraph style, the action does reset the direct formatting set
on the paragraph level. It does not change any format (direct or style) set on
character level (with an exception when the character direct formatting spans
the whole paragraph).

This allows e.g. to keep some words highlighted, even if you decided to change
this paragraph from text body to table contents. This is the correct behavior,
and follows the least astonishment principle.

It might seem that the test case matches the "character direct formatting spans
the whole paragraph" exception mentioned above. No, in that paragraph, there
are actually *two* text runs with different direct formatting, the only
difference being an "rsid" invisible attribute, showing different edit
sessions. It is visible in the XML, but deliberately not shown in style
inspector. This makes this case to work differently compared to tdf#146663.
Possibly it would make sense to reset all but rsid in this case, to behave like
146663.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149135] Writer does not always apply styles correctly

2022-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149135

Telesto  changed:

   What|Removed |Added

 CC||mikekagan...@hotmail.com

--- Comment #3 from Telesto  ---
@Mike
I'm not seeing any problem here, but I struggle to give a proper explanation

(In reply to wpeaton4 from comment #2)
> I would make the case that the "least astonishing" behavior would be that
> applying a style **would** override Direct Formatting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149135] Writer does not always apply styles correctly

2022-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149135

--- Comment #2 from wpeat...@gmail.com ---
So yes. Looks like the first line has Direct Formatting and the second line has
that direct formatting carried with it.

If you select the whole second line, then right click and do "Clear Direct
Formatting" (or type Ctl+M), it will clear the direct formatting and the
paragraph will then follow the style.

This implies that by default, Writer will not override direct formatting when a
style is applied. Is this deliberate behavior?

I would make the case that the "least astonishing" behavior would be that
applying a style **would** override Direct Formatting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149135] Writer does not always apply styles correctly

2022-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149135

Telesto  changed:

   What|Removed |Added

 CC||tele...@surfxs.nl

--- Comment #1 from Telesto  ---
1. Open the file
2. Open the sidebar -> Style inspector deck
3. Click on the paragraph with 14 bold -> Notice Character Direct Formatting
being set..
4. I guess the formatting being introduced by pressing Enter after the heading
-> Which has also Character Direct Formatting (and not using Paragraph Style)

-- 
You are receiving this mail because:
You are the assignee for the bug.