Issue 126152

Summary: Cell word wrapping is incorrect when AutoFilter is ON
Product: Calc Reporter: Andrey Babak <ababak>
Component: uiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P5 (lowest)    
Version: 4.1.1   
Target Milestone: ---   
Hardware: Mac   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
Example screenshot of incorrect text wrapping
XLS file none

Description Andrey Babak 2015-03-04 16:14:51 UTC
Created attachment 84567 [details]
Example screenshot of incorrect text wrapping

When AutoFilter is enabled and cell wrapping is set to wrap text automatically there is a strange behavior:
1. If the text is short enough so that it fits one line then the filter selector dropdown is just drawn on top of text (see column B and C - C looks fine as the vertical alignment separates text from drop down selector)
2. If the text is longer than one line (column A), the cell gets a right margin for all of its lines to clear the space for drop down selector.

What is expected:
If the line of text overlaps the selector, it should wrap accordingly, otherwise it should occupy the whole cell width.
Comment 1 Andrey Babak 2015-03-04 16:15:51 UTC
Created attachment 84568 [details]
XLS file