Bug 90693 - FORMATTING list: paragraph underline extends to tab when image has no wrap
Summary: FORMATTING list: paragraph underline extends to tab when image has no wrap
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.1.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 112439 132029 (view as bug list)
Depends on:
Blocks: Anchor-and-Text-Wrap Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2015-04-18 10:30 UTC by Thomas Ascher
Modified: 2024-01-02 11:04 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Document and Screenshot that demonstrates the problem. (52.21 KB, application/zip)
2015-04-18 10:30 UTC, Thomas Ascher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Ascher 2015-04-18 10:30:33 UTC
Created attachment 114876 [details]
Document and Screenshot that demonstrates the problem.

Underling the first bullet point list item after an image will not only underline the text but also the tab between the bullet point and the text.

Steps for reproduction: Insert an image into the document. Right below start a bullet point list and underline the first entry. Not only the text but also the tab between the bullet point and the text will be underlined.

For further details see attachment.
Comment 1 Joel Madero 2015-04-19 04:08:38 UTC
Please don't set the priority of your bugs - this is horribly over prioritized. Lowering to default. Thanks
Comment 2 Aaron Honeycutt 2015-04-19 04:11:30 UTC
I'm able to reproduce in LibreOffice 4.4.2.2 on Kubuntu 15.04 Beta 2.
Comment 3 Gordo 2015-04-20 18:42:23 UTC
I would like to add that this only happens if the image wrap is none and the anchor is to paragraph or to character.  Moving the anchor in a bullet list with several paragraphs that are all underlined will change which paragraph indentation is underlined.
Comment 4 QA Administrators 2016-09-20 09:33:33 UTC Comment hidden (obsolete)
Comment 5 Thomas Ascher 2016-09-21 17:43:35 UTC
I have installed version 5.2.1.2 on Windows 10 and this bug is still present. These are the exact and more precise described steps to reproduce:

- Create empty document
- Insert new image
- Set wrap mode of image to none
- Create a bullet point list on the same paragraph/below
- Type in some text and underline the text

When following these steps you can see that the tabulator between the bullet point and the text will be underlined as well, which shouldn't happen. See also the attached document in this bug report.
Comment 6 Xisco Faulí 2017-09-29 08:50:00 UTC Comment hidden (obsolete)
Comment 7 Thomas Ascher 2017-09-29 10:24:08 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2018-09-30 02:49:02 UTC Comment hidden (obsolete)
Comment 9 Thomas Ascher 2018-10-07 20:54:44 UTC
Bug is still present in version 6.0.6.2 on Fedora 28.
Comment 10 QA Administrators 2019-11-25 03:31:20 UTC Comment hidden (obsolete)
Comment 11 Thomas Ascher 2019-12-26 19:13:32 UTC
Bug is still well an alive in Ubuntu 19.10 and LibreOffice 6.3.3.2. The 5th anniversary is coming up soon :)
Comment 12 QA Administrators 2021-12-26 04:21:22 UTC Comment hidden (obsolete)
Comment 13 Thomas Ascher 2021-12-26 10:50:32 UTC
Bug is still present in LibreOffice 7.2.4.1 on Ubuntu 21.10.
Comment 14 phv 2021-12-26 11:14:52 UTC
Reproducible on LibreOfficeDev 7.4.0.0. but I have trouble understanding what is normal behavior or not when it comes to lists.

I assume that all text decorations (font effects of a paragraph style) should never be applied to the indentation associated with a list style. Only the text decorations (font effects of a character style) for the numbering symbol should apply.
Comment 15 phv 2021-12-26 11:25:44 UTC
*** Bug 112439 has been marked as a duplicate of this bug. ***
Comment 16 phv 2021-12-26 11:33:12 UTC
*** Bug 132029 has been marked as a duplicate of this bug. ***
Comment 17 phv 2021-12-26 12:04:30 UTC
I added some duplicates and change the title to a more explicit one.

Note that this report concern all text decorations (overline, underline, strikethrough) and all anchoring object, shape and image result in the same problematic behavior. This issue appears only when Wrap is turned off (none).

Also, when "Individual words" option from "Text Decoration" is enabled, all decorations are removed from list numbering symbol and tabulation; which is proof text decoration from the paragraph style should never be applied to them.
Comment 18 Octavio Alvarez 2021-12-27 01:23:47 UTC
(In reply to phv from comment #15)
> *** Bug 112439 has been marked as a duplicate of this bug. ***

Mine (#112439) does not need a graphic to be inserted to trigger the behavior, but, it does need the bullet itself set to be a graphic. In both bugs, mine and this one, the in-between space is formatted just like the first character of the bulleted item.

For quick reference, I am quoting the steps to reproduce mine here:

1. Create a new Writer document
2. Right-click > Bullets and Numbering...
3. Go to the Customize tab.
4. Set Number: Graphics.
5. Set Graphics: Select... > Gallery > Choose whatever image; I chose blkpearl.
6. OK (dialog should close).
7. Type HELLO WORLD.
8. Select HELLO WORLD, Right-click > Character...
9. Go to the Font Effects tab.
10. Set Underlining: Single but keep "Individual words" unchecked.

It will underline the space between the bullet and the first character, when it shouldn't.

Version: 7.2.2.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.2.2-0ubuntu0.21.10.1
Calc: threaded
Comment 19 phv 2021-12-28 14:57:47 UTC
(In reply to Octavio Alvarez from comment #18)
> Mine (#112439) does not need a graphic to be inserted to trigger the
> behavior, but, it does need the bullet itself set to be a graphic. In both
> bugs, mine and this one, the in-between space is formatted just like the
> first character of the bulleted item.

My guess is that numbering with graphics corresponds to inserting an image with the attribut Wrap to none by default and anchored to list items. At least, the software engine seems to process this element as such.

Therefore, I think what causes the issue is the same even if the steps to reproduce are different. Of course I could be wrong, in which case you can unlink from this one the report previously added.
Comment 20 QA Administrators 2023-12-29 03:11:57 UTC Comment hidden (obsolete)
Comment 21 Thomas Ascher 2024-01-02 11:04:37 UTC
Bug is still present in:

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:7.6.4-0ubuntu0.23.10.1
Calc: threaded