[Upstream] Auto Filter show blank lines below filtered results

Bug #882046 reported by Unco New
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
Medium
libreoffice (Ubuntu)
Fix Released
Medium
Björn Michaelsen

Bug Description

1) lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10

2) apt-cache policy libreoffice-calc
libreoffice-calc:
  Installed: 1:3.4.3-3ubuntu2
  Candidate: 1:3.4.3-3ubuntu2
  Version table:
 *** 1:3.4.3-3ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen in LibreOffice Calc via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/882046/+attachment/2573773/+files/Suivi_Clients.ods && localc -nologo Suivi_Clients.ods

primary click cell A1 -> ADPM and only the filter results are shown with no blank lines below.

4) What happens instead is blank lines are shown below the filtered results. As well, these cannot be deleted by pressing the following 3 keys simultaneously:

Ctrl - +

Delete entire row(s) -> OK button

Original Reporter Comments: Try to select the unwanted lines and delete them, turn the filter off and on again, there's one more unwanted line at the bottom !

Revision history for this message
Unco New (unconew) wrote :
penalvch (penalvch)
summary: - Filter strange beheaviour
+ Auto Filter show blank lines below filtered results
Revision history for this message
penalvch (penalvch) wrote : Re: Auto Filter show blank lines below filtered results

Unco New , thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at http://wiki.documentfoundation.org/BugReport . If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

description: updated
Changed in libreoffice (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in df-libreoffice:
status: New → Incomplete
Revision history for this message
In , Unco New (unconew) wrote :

Created attachment 52804
The example file

Problem description: Auto Filter show blank lines below filtered results

Steps to reproduce:
1. Open the file attached
2. Select ADPM in the cell A1
3. What is expected :the filter results are shown with no blank lines below.
   What happens instead : blank lines are shown below the filtered results. As well, these cannot be deleted by pressing the following 3 keys simultaneously:

Ctrl - +

Delete entire row(s) -> OK button

4. turn the filter off and on again, there's one more unwanted line at the bottom !

Revision history for this message
Unco New (unconew) wrote :

Here's the link of the upstream bug. Thanks !

https://www.libreoffice.org/bugzilla/show_bug.cgi?id=42286

penalvch (penalvch)
Changed in df-libreoffice:
importance: Undecided → Unknown
status: Incomplete → Unknown
summary: - Auto Filter show blank lines below filtered results
+ [Upstream] Auto Filter show blank lines below filtered results
Revision history for this message
In , Pjacquod (pjacquod) wrote :

I get the same
I will try to debug sort the point out.

Revision history for this message
In , Pjacquod (pjacquod) wrote :

Just for the record.
At initialisation, the parameter nEndRow (a member of ScDBData class) is initialized with a value that does not contain all rows, hence the initial view with some empty rows.

Further, each time the filter is changed, the parameter nEndRow is reduced of 1, which creates the increasing number of empty rows.

Investigation now in two directions:
1. why it decreases each time of 1
2. why it initialises not with all rows.

Revision history for this message
In , Pjacquod (pjacquod) wrote :

solved (with commit 88611e702a18d2 ). This means for users, that this will be solved in 3.5.0
If the cherry-pick is done to 3.4.5, this version will also have the corrected behaviour. (but still need approbation for 3.4.5)

Best regards

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

fixed in upstream 3.5.0, and included in current precise release:
https://launchpad.net/ubuntu/+source/libreoffice/1:3.5.1-1ubuntu1

Changed in libreoffice (Ubuntu):
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
milestone: none → ubuntu-12.04
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.