Bug 120737 - Word count starting again when pasting text for the first time
Summary: Word count starting again when pasting text for the first time
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: lowest trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Word-Count Paste-Special-Unformatted
  Show dependency treegraph
 
Reported: 2018-10-20 17:49 UTC by Telesto
Modified: 2023-04-15 16:04 UTC (History)
5 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 Telesto 2018-10-20 17:49:39 UTC
Description:
Word count starting again when pasting unformatted text to a footnote (maybe bug 120515)

Steps to Reproduce:
1. Open attachment 145863 [details]
2. Select some text part & copy it
3. Select the text in a footnote, CTRL+SHIFT+V.. Paste as unformatted text. Word count starts again

Actual Results:
Full word recount

Expected Results:
Only the change


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.0.0.alpha0+
Build ID: b63d48a146c3615f56b6ec83361b3c02ebcbb215
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-13_23:33:20
Locale: nl-NL (nl_NL); Calc: CL
Comment 1 Dieter 2018-10-21 11:48:20 UTC
I confirm this with

Version: 6.2.0.0.alpha0+ (x64)
Build ID: 48cfa0b00b22f11ade53aec79b2fdddad253e1bd
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-03_02:01:42
Locale: en-US (de_DE); Calc: CL

but it only happens the first time. If you paste the copied text a second time, everything works O. K.
Comment 2 Xisco Faulí 2018-10-23 16:21:04 UTC
Reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.10; Render: default; 

but not in

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 3 raal 2018-10-31 09:59:07 UTC
This seems to have begun at the below commit.
Adding Cc: to Noel Grandin; Could you possibly take a look at this one? Thanks
 46a5506b97ad5599ec0c27abe6d39f46de3d7360 is the first bad commit
commit 46a5506b97ad5599ec0c27abe6d39f46de3d7360
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Thu Sep 10 18:25:16 2015 -0700

    source e126468e5dbc4ef85fc4b6146e0ba73e85281f70
author	Noel Grandin <noel@peralex.com>	2015-09-07 14:01:23 +0200
committer	Noel Grandin <noel@peralex.com>	2015-09-08 08:16:46 +0200
commit e126468e5dbc4ef85fc4b6146e0ba73e85281f70 (patch)
tree 929c0344bcb272fe6fb4d158ec70abc775568b7d
parent b4deeef405fc4200c1b33d2cecf7b301417b2398 (diff)
convert Link<> to typed
Comment 4 Noel Grandin 2018-11-01 19:27:50 UTC
raal, are you sure about that? that commit modified the character map dialog, it didn't touch anything at all word count related
Comment 5 QA Administrators 2019-11-02 03:45:19 UTC Comment hidden (obsolete)
Comment 6 Telesto 2019-11-02 16:39:07 UTC
Repro
Version: 6.4.0.0.alpha0+ (x86)
Build ID: c45d477b0a0038d9c25176cf7cff299e5ddf3a7a
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-09-30_05:06:55
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

As comment 1 states, only at the first paste
Comment 7 Justin L 2021-03-26 09:51:00 UTC
repro 7.2+, but not in bibisect-50max

The type of paste doesn't matter. A normal paste does the same thing. Nor does it matter whether the paste is into a footnote or not.

I saw the same thing happening in the oldest of bibisect-linux-64-5.2 (aka 5.1).
When testing bibisect-50max, it didn't seem to re-count the words.
BIBISECT_REQUEST: I think Windows has a nice 5.1 bibisect.

There is no nice bibisect 51 for Linux. I have a daily, debug version, but the debug is much slower. On the oldest commit (which matches the day after 50 master), I notice the word count restarting from 1. So I'm doubtful whether a bibisect will turn up anything...
Comment 8 Aron Budea 2021-04-04 05:09:33 UTC
This started with the following xommit, bibisected using repo bibisect-win32-5.1.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=b0fde7a912ff3aa370496802f20895b1158b072c
author		Ashod Nakashian <ashodnakashian@yahoo.com>	2015-07-05 12:05:26 -0400
committer	Caolán McNamara <caolanm@redhat.com>	2015-07-15 07:46:01 +0000

tdf#38837 Reduce power consumption by minimizing idle timers
Comment 9 QA Administrators 2023-04-05 03:23:53 UTC Comment hidden (obsolete)
Comment 10 Dieter 2023-04-15 16:04:49 UTC
Still present in

Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded