[Libreoffice-bugs] [Bug 141970] New: More inexact numbers in drag-fill in 7.1 compared to 7.0

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 29 11:17:20 UTC 2021


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

            Bug ID: 141970
           Summary: More inexact numbers in drag-fill in 7.1 compared to
                    7.0
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisectNotNeeded, regression
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

Created attachment 171505
  --> https://bugs.documentfoundation.org/attachment.cgi?id=171505&action=edit
Testing drag-fill

After
https://git.libreoffice.org/core/commit/d5ebe7c3089ab9f4d3fe0707169fc1ce024cdb70,
drag-fill produces more inexact numbers compared to version 7.0.

In the attachment, there are integers from 1 to 1024 in row 1, and numbers from
1.1 to 1024.1 in row 1. For testing, I selected it all (Ctrl+Home;
Shift+Ctrl+End), grabbed the small rectangle at the bottom right color of
selection, and dragged to arbitrarily chosen row 1045. Then I exported to CSV
(using en-US locale), and in a text editor counted number of matches for regex
'\d+\.\d{2,}', which shows how many numbers with more than one digit after the
decimal dot.

For v.6.4, there were 305.258 matches;
For v.7.0, there were  33.199 matches;
For v.7.1, there were 111.181 matches.

The decrease in 7.0 is due to
https://git.libreoffice.org/core/commit/8f46501233c164ff91d77a7f5adf74ea16cd0165,
and increase in 7.1 is due to
https://git.libreoffice.org/core/commit/d5ebe7c3089ab9f4d3fe0707169fc1ce024cdb70.
Reverting the latter decreases the number of problems down to 33.199 again.

So that last commit was not a great idea after all. The test is not exhaustive,
of course; but it seems to be representative enough to consider revert of the
commit.

-- 
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/20210429/4d0d3978/attachment.htm>


More information about the Libreoffice-bugs mailing list