Bug 47079 - EDITING Autofilter header is shifted hiding autofilter
Summary: EDITING Autofilter header is shifted hiding autofilter
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
3.3.4 release
Hardware: x86 (IA32) All
: medium minor
Assignee: Attila Szűcs
Whiteboard: BSA target:7.1.0
Depends on:
Blocks: AutoFilter
  Show dependency treegraph
Reported: 2012-03-07 19:41 UTC by Dave Yarusso
Modified: 2020-09-14 09:36 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Test file to demonstrate problem (103.50 KB, application/vnd.ms-excel)
2012-03-07 19:41 UTC, Dave Yarusso

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Yarusso 2012-03-07 19:41:39 UTC
Created attachment 58151 [details]
Test file to demonstrate problem

Problem description: 
When text in header field used for autofilter is rotated 90 degrees and is ofcdate type, text is moved out of view when autofilter is turned on because filter arrow seems to require an additional line in the rotated text box. Try turning Autofilter on and off in the attached file and you will see the date text get pushed out of the cell which is only wide enough for one line of text. This doesn't happen for the cells with simple text in them. It also doesn't happen in Excel with this same spreadsheet.
Comment 1 ign_christian 2013-06-27 05:07:26 UTC
Please provide more detailed explanation, should be step by step procedure to show that problem.

Is that behavior occured on latest stable release (3.6.6 or 4.0.4)?
Comment 2 Christopher M. Penalver 2013-06-28 11:14:02 UTC
What is expected to happen in Calc via a terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/275676/+attachment/362845/+files/filter_test_file.xls && localc --nologo filter_test_file.xls

Data -> Filter -> Hide Autofilter

and none of the text shifts, just the same as Microsoft Office Professional Plus 2010 Excel Version 14.0.6023.1000 (32-bit).

What happens instead is that some of the text in the Autofilters are shifted to the right.

Reproducible in:
Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155
Microsoft Windows Vista Business x86 6.0.6002 Service Pack 2 Build 6002
Comment 3 A (Andy) 2014-09-27 10:44:14 UTC
reproducible with LO (Win 8.1)
Comment 4 QA Administrators 2015-10-14 19:58:23 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2016-01-30 15:18:44 UTC
Repro with document.

Win 7 Pro 64-bit Version:
Build ID: 9784ff3d878eaa21491fbd779e57d7d4710f5449
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-30_01:31:57
Locale: fi-FI (fi_FI)
Comment 6 QA Administrators 2018-06-18 02:43:09 UTC Comment hidden (obsolete)
Comment 7 b. 2020-08-09 12:13:06 UTC
not very important one, but still bug in 2020-08-05,
Comment 8 Commit Notification 2020-08-31 15:00:51 UTC
Attila Szűcs committed a patch related to this issue.
It has been pushed to "master":


tdf#47079 sc layout: fix visibility of Autofilter header

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 9 NISZ LibreOffice Team 2020-09-14 09:36:23 UTC
Verified in:

Version: (x64)
Build ID: 34a09c9c61bff30e8c4d16132bb47b2b1b16e422
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded