Description: UI: Table properties borders doesn't show top border if row selected Steps to Reproduce: 1. Open the attached file 2. Select the middle row 3. Table -> Properties -> Border Actual Results: Top border appears to be empty Expected Results: Not empty, but shows the present border Reproducible: Always User Profile Reset: No Additional Info: Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 05366b8e6683363688de8708a3d88cf144c7a2bf CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL and in 3.3.0
Created attachment 172259 [details] Example file
You have set the border exactly like this (change the extension into zip and check how style:table-cell-properties are defined in content.xml). Point is that drawing a line below a cell is the same as on top for the following. Drawing two lines over each other is just a waste of resources.
Created attachment 172321 [details] Screencast (In reply to Heiko Tietze from comment #2) > You have set the border exactly like this (change the extension into zip and > check how style:table-cell-properties are defined in content.xml). > > Point is that drawing a line below a cell is the same as on top for the > following. Drawing two lines over each other is just a waste of resources. Not following.. This is also about usability (next to presenting factual state). See screencast [BTW, I'm aware tables handling being tremendously complex]
(In reply to Telesto from comment #3) > Not following.. If you have adjacent cells the border from one is used at the other, obviously. Likely because of performance. I'd resolve the ticket as WF, the alternative is to either always draw the lines risking performance issues or to fake the border into the UI which sounds also not like a good solution. But since bug 142440 is probably caused by this issue we should rethink the processing anyway.
*** This bug has been marked as a duplicate of bug 143248 ***
*** This bug has been marked as a duplicate of bug 143250 ***