Bug 84287 - LINE NUMBERING, EDITING: Cannot undo the introduction of line numbering
Summary: LINE NUMBERING, EDITING: Cannot undo the introduction of line numbering
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other Linux (All)
: medium minor
Assignee: Not Assigned
Whiteboard: BSA
Depends on:
Blocks: Undo-Redo Line-Numbering
  Show dependency treegraph
Reported: 2014-09-24 16:16 UTC by krajcsi
Modified: 2022-12-16 13:42 UTC (History)
0 users

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description krajcsi 2014-09-24 16:16:22 UTC
Problem description: 
Line numbering setting cannot be reversed with undo function.

Steps to reproduce:
1. Create a new document
2. Write a few lines
3. Turn line numbering on (Tools > Line Numbering... > Show numbering > OK)
4. Undo (e.g., Edit > Undo)

Current behavior:
Last typed text will be deleted.

Expected behavior:
Line numbering is turned off.
Operating System: Linux (Other)
Version: rc
Comment 1 ign_christian 2014-09-24 16:59:12 UTC
Reproducible under Ubuntu 12.04 with various versions between LO -, also with AOO 4.1.1

Only occurred with steps as described, in 1st line numbered
Comment 2 krajcsi 2014-09-26 18:09:39 UTC
What do you mean by 1st line numbering? You can't undo that only for the first time? Or only in the first line, but not the second line? For me the problem is quite general: line numbering cannot be undone in any situations, at least I haven't find yet a case where undo would work here.
Comment 3 QA Administrators 2015-10-14 19:58:12 UTC Comment hidden (obsolete)
Comment 4 krajcsi 2015-10-22 13:57:56 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2016-11-08 11:39:11 UTC Comment hidden (obsolete)
Comment 6 krajcsi 2016-11-08 12:48:05 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2018-10-18 02:49:08 UTC Comment hidden (obsolete)
Comment 8 krajcsi 2018-10-18 10:45:18 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2019-10-19 02:42:56 UTC Comment hidden (obsolete)
Comment 10 krajcsi 2019-10-21 08:39:03 UTC
It is still there.

Build ID: 1:6.3.2-0ubuntu0.18.04.1~lo1
CPU threads: 4; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Comment 11 QA Administrators 2021-10-21 03:35:26 UTC Comment hidden (obsolete)
Comment 12 krajcsi 2021-10-23 08:31:22 UTC
I cannot tell if the bug is still there because there's a new bug: Following the steps in the first comment, in the third step, the line numbering does not appear.

Version: / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

The same lack of line numbering can be observed here too:

Version: / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.2.2~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 13 Eyal Rozenberg 2022-12-16 13:42:20 UTC
Bug still manifests with:

Version: (X86_64) / LibreOffice Community
Build ID: 360b5861fb46353e7a6b9f5abf13339cd719a8df
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US

... but not exactly just like krajcsi described: There are two inserted actions - which the user did not perform - when adding line numbers: A change in the Header PS and the footer PS. If I undo, one of those get undone, and if undo them both, then undo again, it's the typing of the last character. The introduction of Line Numbering cannot be undone.