Bug 74617

Summary: cell borders cannot be set independently
Product: LibreOffice Reporter: Bernard Moreton <bernard.moreton>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: major CC: sophi
Priority: medium    
Version: 4.2.0.4 release   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: cell with different borders setting for top and bottom
Table with different patterns and thickness

Description Bernard Moreton 2014-02-06 14:49:08 UTC
In 4.2 release (at least on Ubuntu), when formatting a single cell, different top and bottom borders cannot be set. They always revert back to being the same.

This is also true when importing a RTF table - different width top and bottom borders on single cells are made to be the same.

This was not a problem on earlier versions of LO
Comment 1 sophie 2014-02-06 16:11:22 UTC
I can't reproduce:
- select a cell
- go to Table > Border 
- set the top border as orange, then the bottom one as pink, press ok
- both are formatted correctly
- save/reopen, formatting is still correct.
I'm adding a table showing the cell formatting
Using Version: 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71 Ubuntu 13.10 x64

Can you describe the steps to reproduce the problem you encounter or provide a document showing it. thanks
Set as needinfo - Sophie
Comment 2 sophie 2014-02-06 16:12:00 UTC
Created attachment 93541 [details]
cell with different borders setting for top and bottom
Comment 3 Bernard Moreton 2014-02-06 16:42:30 UTC
You're right, different colours do work ok, but different line widths (eg 0.05pt, 1.25pt) can't.

I can't send an example, because it doesn't work!

Insert table into new writer document
Table/Select/Cell
then format top border as default, and bottom border as something much thicker.
The format wizard appears to show that both are then set the same; quitting back to the table shows that; reselecting the cell and checking properties also shows that nothing took.  The thinner width wins out each time.

The same is true when changing the line pattern.
Comment 4 sophie 2014-02-06 16:50:21 UTC
Created attachment 93547 [details]
Table with different patterns and thickness
Comment 5 sophie 2014-02-06 16:52:03 UTC
In the sample I provided, the two cells have different top and bottom borders: thickness, patterns, colors are different. So setting back as unconfirmed. Sophie
Comment 6 Bernard Moreton 2014-02-06 17:19:58 UTC
You are right, and I modify the bug description - the problem appears to be that the wizard reverts each border back to the default when it is selected, rather than accepting the existing setting(s) for revision.  If I don't try to check my work, and don't want to make small revisions from the current settings, then all's well.  But examinations of the settings force me back to the default each time, so it's impossible to know what the current setting is.

The RTF import is probably a completely separate problem.
Comment 7 Bernard Moreton 2014-02-08 11:33:46 UTC
The table formatting wizard wasn't working properly for me on 06/02, but yesterday (07/02/14) and today is is working as expected.  I cannot now reproduce the fault.  Please close this report.
Comment 8 sophie 2014-02-08 16:52:33 UTC
Thanks for your feedback, so closing per request - Sophie