[Libreoffice-bugs] [Bug 140731] New: EDITING Capitalize Every Word operation slow with large file and enabled change tracking

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 1 10:16:36 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=140731

            Bug ID: 140731
           Summary: EDITING Capitalize Every Word operation slow with
                    large file and enabled change tracking
           Product: LibreOffice
           Version: 7.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: perf
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org
            Blocks: 83946

Created attachment 170145
  --> https://bugs.documentfoundation.org/attachment.cgi?id=170145&action=edit
Example file from Writer

Attached file contains about 12 thousand words of Lorem ipsum on 21 pages.
Change tracking is enabled.
When selecting Format – Text – Capitalize Every Word the operation takes about
15 seconds on my machine, and after that rejecting all changes takes about 45
seconds.
Without change tracking enabled it is fast: about 1 second.

Steps to reproduce:
    1. Open attached file
    2. Ctrl-A
    3. Format – Text – Capitalize Every Word
    4. Edit – Track Changes – Reject All

Actual results:
(in step 3) Creating  ~12 thousand tracked changes is rather slow.
With only 2 pages and 1000 words it took only ~1 second, and with 4 pages it
started to be noticeably janky.

(in step 4) Rejecting all those changes is about three times slower.

Expected results:
Making redline creation/rejection fast even in such an extreme (or even
accidental) use case.
For the short term, not making redlines at all for this operation (above some
fixed amount of words) might work as well.

LibreOffice details:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: e60bebd4c5257b0f592d27c74399de1498ac725b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-GB
Calc: CL

Additional Information: 

Bibisected using bibisect-win64-7.1 to:
URL:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=2d3c77e9b10f20091ef338e262ba7756eb280ce9

Author: László Németh <nemeth at numbertext.org>
Date:   Thu Nov 5 10:17:03 2020 +0100

    tdf#109266 sw change tracking: track transliteration

    Format->Text->UPPERCASE, tOGGLE cASE etc. weren't
    supported by change tracking.
Before this the operation was not change tracked.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=83946
[Bug 83946] [META] Tracking changes issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210301/d9e46243/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list