Bug 76232

Summary: Table: Merging Two Cells Leads to an Additional Line Break
Product: LibreOffice Reporter: A (Andy) <stgohi-lobugs>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: pje335-lo
Version: 4.2.1.1 release   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description A (Andy) 2014-03-16 14:55:33 UTC
Problem Description: 
If you merge two cells (first is empty and the second is with text) then you get an additional line break.

Steps to Reproduce:
1. Open WRITER
2. Go to TABLE -> INSERT -> TABLE
3. Press INSERT to insert a 2 x 2 table
4. Go to the cell in row 1 and column 2 and write "Test", keep attention that the cell in row 1 and column 1 is empty 
5. Select the complete first row and make a right mouse click
6. Go to CELL -> Merge

Result:
The first row has to lines (one empty line with a line break and a second line with the word "Test")

7. Now select the second row, keep attention that this row is completly empty
8. Make a right mouse click and go to CELL -> MERGE

Result:
The second row is merged and it is still correctly only one line.

Expected Behavior:
In the first case if the first cell is empty (no character, even no blank character) then there should be no additional line break leading to two lines.
              
Reproduced with LO 4.2.1.1 (Win 8.1)
Comment 1 Thomas van der Meulen 2014-03-21 13:46:01 UTC
Thank you for your bug report, 

I can reproduce just like the explained in the bug running 
Version: 4.2.3.1
Build ID: 3d4fc3d9dbf8f4c0aeb61498a81f91c5b7922f13
OS: Mac osx 10.9.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.