[Libreoffice-bugs] [Bug 138264] New: Calc Wrong number of selected rows if there's an AutoFilter

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 16 17:24:46 UTC 2020


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

            Bug ID: 138264
           Summary: Calc Wrong number of selected rows if there's an
                    AutoFilter
           Product: LibreOffice
           Version: 6.4.7.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: josete at tutamail.com

Description:
When there's an aufilter active and a selection the status bar
shows a wrong number of selected rows if between the first and the last are
filtered rows.


Steps to Reproduce:
1. Activate autofilter.
Let's say this filter hides lines 4 and 5
2. Make a selection from lines 3 to 6


Actual Results:
The status bar shows "Selected: 4"

Expected Results:
The status bar shows "Selected: 2"


Reproducible: Always


User Profile Reset: No



Additional Info:
It seems that Calc counts from the first row to the last including all the
hidden lines. In this case, from 3 to 6 there are 4 rows, but there are only 2
rows selected.
Despite this bad behabiour, if you make a change to the 2 selected rows, only
those 2 rows will be affected which is perfect.

-- 
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/20201116/6b97a5d9/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list