Bug 48025 - EDITING AUTOFILTER: Autofilter settings stay with the column number when deleting columns
Summary: EDITING AUTOFILTER: Autofilter settings stay with the column number when dele...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 3.5.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 00:47 UTC by Thomas Thym
Modified: 2013-03-07 15:27 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
File to test / reproduce the bug. (8.44 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-11-22 08:16 UTC, Thomas Thym
Details
Description of the bug with screenshots (35.59 KB, application/vnd.oasis.opendocument.text)
2012-11-22 08:18 UTC, Thomas Thym
Details

Description Thomas Thym 2012-03-29 00:47:44 UTC
The autofilter criteria remains with the column (e.g. B) when a column left of the column or the column itself is deleted instead of moving with the content (in this case to column A).

How to reproduce:

1. Create a table in calc with 3 colums

Col_A	Col_B	Col_C
a	1	a1
b	2	a2
c	3	a3
a	1	a1
b	2	a2
c	3	1

2. Set autofilter to column B (e.g. "1")

3. Delete column A.

4. The filter setting "1" stays with column B. (The filter is not automatically updated. The tab stays as it was before column A was deleted.)

Expected behaviour:

The filter should stay with the content in this case column "Col_B" (in that case move to column A).

Note: You can't insert columns when the autofilter is used, but you can delete. If would be nice if the solution would not be to also block deleting columns when the autofilter is in use ;-)
Comment 1 sasha.libreoffice 2012-06-22 03:04:08 UTC
Thanks for bugreport
Sorry, can not understand this place:
> 4. The filter setting "1" stays with column B. (The filter is not automatically
> updated. The tab stays as it was before column A was deleted.)
Please, attach screenshot of this problem
Comment 2 bfoman 2012-07-03 05:12:32 UTC
Confirmed with:
LO 3.5.4.2 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Autofilter set on column B, when A is deleted, do not follow to column A, stays at B instead.

(In reply to comment #0)
> Note: You can't insert columns when the autofilter is used, but you can delete.

Confirmed.

Users migrating from Excel 2010 could be surprised.
Comment 3 sasha.libreoffice 2012-07-06 04:45:22 UTC
Still can not reproduce in 3.5.4 on Fedora 64 bit.
It is either Windows specific bug or I doing something wrong.
Please, attach screenshot of this bug
Comment 4 Thomas Thym 2012-11-22 08:16:21 UTC
Created attachment 70414 [details]
File to test / reproduce the bug.

This is the file of the mentioned example to reproduce the bug. I tested is with LibreOffice 3.6.3 on Windows XP (32-bit) and LibreOffice 3.6.1 and 3.6.3 on Linux (OpenSUSE 12.1, 64-bit).
Comment 5 Thomas Thym 2012-11-22 08:18:27 UTC
Created attachment 70415 [details]
Description of the bug with screenshots

I added are more detailed description of the bug, including screenshots. If you need more information I will try to provide it. (And this time quicker.)
Comment 6 sasha.libreoffice 2012-11-22 10:34:49 UTC
Thanks for attachments
reproduced using first attachment and initial description 
in 3.4.2 on Windows XP 32 bit
in 3.6.3 on RFR 17 64 bit
Comment 7 Thomas Thym 2013-03-07 15:27:22 UTC
This bug still exists in LO 4.0.1.2


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.