Bug 97005 - Strike-through together with numbering/bullets does not work correctly
Summary: Strike-through together with numbering/bullets does not work correctly
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Bullet-Number-Outline-Lists Character
  Show dependency treegraph
 
Reported: 2016-01-10 13:45 UTC by sedat
Modified: 2021-05-20 12:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Image shows strikethrough between bullet and text (15.29 KB, image/png)
2016-11-24 01:30 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sedat 2016-01-10 13:45:51 UTC
Steps to reproduce:
1. open a new document
2. write something
2. select text
3. click Strike-through button
4. apply numbering or bullets - this will Strike-through everything

Expected behavior: Should be Strike-through just text, not number or bullet.
Comment 1 Pranav Kant 2016-01-23 17:00:21 UTC
This seems to be working fine for me. Can you still reproduce this bug ?
Comment 2 Pranav Kant 2016-01-25 12:02:39 UTC
So, yeah, it turns out that to reproduce this situation you need to select the whole line and then hit strike-through button. I was only selecting few of the text earlier, and hence was not able to see this behavior.

Also, I noticed that this is also the case with LibreOffice desktop master, not just LibreOffice online which is just using the APIs. This bug, hence, can be moved to LibreOffice core, if I am correct. Solving it there would automatically fix it in the online version.
Comment 3 Olivier Hallot 2016-11-24 01:30:14 UTC
Created attachment 128977 [details]
Image shows strikethrough between bullet and text
Comment 4 Olivier Hallot 2016-11-24 01:31:58 UTC
Set as LibreOffice bug.
Comment 5 QA Administrators 2018-10-20 02:53:35 UTC Comment hidden (obsolete)
Comment 6 mattia.b89 2019-02-02 21:54:34 UTC
This bug is no longer reproducible in

Version: 6.1.4.2
Build ID: 6.1.4-4
CPU threads: 4; OS: Linux 4.20; UI render: default; VCL: gtk3; 
Locale: it-IT (en_GB.UTF-8); Calc: group threaded
Comment 7 david merena 2019-05-15 21:16:54 UTC
strike through happens continuously when typing- turning the st off does not help- just comes back on.
Comment 8 Justin L 2021-05-01 11:41:53 UTC
I guess it is personal preference whether the strikethrough should affect the numbering. I kind of like it myself.

repro 7.2+
Comment 9 Justin L 2021-05-07 04:33:35 UTC
MOST character attributes that are applied to the entire paragraph are copied to the numbering, including colour, bold, italic, size.
Two exceptions are underline and background.
Comment 10 Justin L 2021-05-20 12:14:04 UTC
The strike-through through the numbering can be changed by adding
                        pNumFnt->SetStrikeout(STRIKEOUT_NONE);
to two places in txtfld.cxx's SwTextFormatter::NewNumberPortion.

However in DOCX format it still applies all the way through, and since I always work on MS Format compatibility, I am not going to propose an incompatible change. In fact, I'm even going to close this as NOTABUG since it both matches the general behaviour of other formatting as well as MS.