Bug 142712 - Both standard and advanced filters delete rows breaking sequential numbering
Summary: Both standard and advanced filters delete rows breaking sequential numbering
Status: CLOSED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-08 08:57 UTC by Fabio Pesari
Modified: 2021-06-08 11:19 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
File in which this bug is visible (8.64 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-06-08 09:01 UTC, Fabio Pesari
Details
Screenshot of what I mean (3.05 KB, image/png)
2021-06-08 09:02 UTC, Fabio Pesari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Pesari 2021-06-08 08:57:47 UTC
Description:
This is a very serious bug which affected more than one user, myself included.

Both the Standard filter and the Advanced filter generate a filtered range which skips some rows instead of maintaining the original sequential numbering.

In addition to this and maybe as a consequence of it, new columns can't be inserted in a sheet in which filters are used.

The only way around this behavior is to enable the option to copy the results of the filter into a target range but this is counterintuitive.

Steps to Reproduce:
1. Create a table with some entries
2. Use a standard or advanced filter on it

Actual Results:
Row numbers will be missing if some values are filtered out

Expected Results:
The row numbering should stay consistent regardless of the rows which were filtered out


Reproducible: Always


User Profile Reset: No



Additional Info:
I am using a build from the openSUSE Tumbleweed repositories.

Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.12; UI render: default; VCL: kf5
Locale: it-IT (en_US.UTF-8); UI: it-IT
Calc: threaded
Comment 1 Fabio Pesari 2021-06-08 09:01:33 UTC
Created attachment 172692 [details]
File in which this bug is visible
Comment 2 Fabio Pesari 2021-06-08 09:02:33 UTC
Created attachment 172693 [details]
Screenshot of what I mean
Comment 3 Eike Rathke 2021-06-08 10:19:52 UTC
This is expected and not a bug. The row headers show the actual row numbers, not a sequential numbering of visible rows. Rows 3-5 and 7-9 are filtered out and not visible, hence the row numbers displayed are 1,2,6,10.
Comment 4 Fabio Pesari 2021-06-08 11:14:22 UTC
I understand but how can this behavior be intuitive? It also stops the user from inserting new columns
Comment 5 Fabio Pesari 2021-06-08 11:19:00 UTC
For the record, I am not complaining as I am not entitled to anything but I don't understand how this feature helps the end user. If anything, it breaks their sheet.