Bug 108258 - STATUSBAR: Word & character count incorrect after undo to empty document.
Summary: STATUSBAR: Word & character count incorrect after undo to empty document.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha1
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Statusbar
  Show dependency treegraph
 
Reported: 2017-05-31 08:49 UTC by Mike Morris
Modified: 2024-05-07 02:56 UTC (History)
4 users (show)

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 Mike Morris 2017-05-31 08:49:40 UTC
To reproduce:

Start with an empty document.
Type a word or two (or more, if you like.)
UNDO (Ctrl-Z) repeatedly until the document is empty again.

-> Status bar displays the earlier no. of words & characters, and does not update to "0 words 0 characters".
Comment 1 Xisco Faulí 2017-05-31 09:12:08 UTC
Confirmed in

Version: 5.5.0.0.alpha0+
Build ID: 9956849c2ea6049582e2ccf04c355542c1ef00a1
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 2 Xisco Faulí 2017-05-31 09:21:41 UTC
Reproduced in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

but not in

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)
Comment 3 raal 2017-06-02 14:46:25 UTC
This seems to have begun at the below commit.
Adding Cc: to Ashod Nakashian ; Could you possibly take a look at this one?
Thanks
 1657a726e928c2b658abceb7deb618f20ef40a72 is the first bad commit
commit 1657a726e928c2b658abceb7deb618f20ef40a72
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Wed Jul 29 13:34:37 2015 -0700

    source b0fde7a912ff3aa370496802f20895b1158b072c
author    Ashod Nakashian <ashodnakashian@yahoo.com>    2015-07-05 16:05:26 (GMT)
committer    Caolán McNamara <caolanm@redhat.com>    2015-07-15 07:46:01 (GMT)
commit    b0fde7a912ff3aa370496802f20895b1158b072c (patch)
tree    7b53cc78cc2291ccf2a28083082b37fefb8a2185
parent    82da70787ac12ec9d5791eeac6b48535737ad5b3 (diff)
tdf#38837 Reduce power consumption by minimizing idle timers
Comment 4 QA Administrators 2018-10-16 02:51:10 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2018-10-16 06:40:09 UTC
still repro in

Version: 6.2.0.0.alpha0+
Build ID: d9ad59da50c1172fe98f94370221c9c1b688200a
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-08_23:34:44
Locale: ru-RU (ru_RU); Calc: threaded
Comment 6 QA Administrators 2022-08-11 03:46:36 UTC Comment hidden (obsolete)
Comment 7 J_A 2024-05-07 02:56:05 UTC
This bug is still present.

Tested using:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

and 

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: bc7501d30ab9a3a5edec66d2f0022177f85d6127
CPU threads: 16; OS: Windows 10 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded