Bug 139461 - Cell borders does not appears correctly in Table properties
Summary: Cell borders does not appears correctly in Table properties
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-07 08:58 UTC by [REDACTED]
Modified: 2021-02-17 16:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
cell borders not displayed in Table properties (182.36 KB, image/jpeg)
2021-01-09 13:05 UTC, [REDACTED]
Details
Libreoffice version 7.0.4.2 (228.13 KB, image/jpeg)
2021-01-09 13:12 UTC, [REDACTED]
Details
Libreoffice version 7.0.4.2 table borders (2.95 MB, video/mp4)
2021-02-09 13:32 UTC, [REDACTED]
Details
writer default user-defined pre-made border line marking in table selection (125.09 KB, image/png)
2021-02-09 13:58 UTC, Riyadh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description [REDACTED] 2021-01-07 08:58:12 UTC
Description:
Up and right borders of a table cell does not appear in table properties

Steps to Reproduce:
1. Create a table with visible borders
2. Select a cell
3. Click Table properties, tab Borders

Actual Results:
Up and right borders is not displayed in Table properties

Expected Results:
All 4 borders should be displayed in Table properties


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Ayush Jain 2021-01-08 21:59:26 UTC
Thank you for reporting the bug. I can not reproduce the bug in

Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 2 [REDACTED] 2021-01-09 13:05:27 UTC
Created attachment 168788 [details]
cell borders not displayed in Table properties
Comment 3 [REDACTED] 2021-01-09 13:06:16 UTC
(In reply to Ayush Jain from comment #1)
> Thank you for reporting the bug. I can not reproduce the bug in
> 
> Version: 7.0.4.2 (x64)
> Build ID: dcf040e67528d9187c66b2379df5ea4407429775
> CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL:
> win
> Locale: en-US (en_US); UI: en-US
> Calc: CL

your comment is a lie.
Comment 4 [REDACTED] 2021-01-09 13:12:16 UTC
Created attachment 168789 [details]
Libreoffice version 7.0.4.2
Comment 5 Riyadh 2021-02-05 21:41:51 UTC
Hello,

It is the expected behavior.

This is "User-defined"; i.e. for you to change.

If your selection is surrounded by other cells from all sides, and to help you doing selection, a "BASE" selection by default is already made for the left and lower lines!

But you are free to remove these and/or add others as you like!
Comment 6 Buovjaga 2021-02-06 05:47:23 UTC
Sebi: can you try again after deactivating this: Tools - Options - LibreOffice - View - Use Skia for all rendering

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 7 [REDACTED] 2021-02-09 08:48:28 UTC
(In reply to Buovjaga from comment #6)
> Sebi: can you try again after deactivating this: Tools - Options -
> LibreOffice - View - Use Skia for all rendering
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED
> WORKSFORME, if the problem went away.

Hello,
I tried your suggestion to deactivate "Use Skia for all rendering". Sorry, it didn't work. Thank you.
Comment 8 [REDACTED] 2021-02-09 08:53:27 UTC
(In reply to Riyadh from comment #5)
> Hello,
> 
> It is the expected behavior.
> 
> This is "User-defined"; i.e. for you to change.
> 
> If your selection is surrounded by other cells from all sides, and to help
> you doing selection, a "BASE" selection by default is already made for the
> left and lower lines!
> 
> But you are free to remove these and/or add others as you like!

Hello,
It's strange your opinion. 
However, if i select a table cell and mark the upper border with red colour (for example), then i select the upper table cell and mark the bottom border with green colour (for example), the border remains with the red colour.
Comment 9 Buovjaga 2021-02-09 08:56:56 UTC
sebi: I think it would be helpful, if you created a video showing all the steps.
Comment 10 [REDACTED] 2021-02-09 13:32:54 UTC
Created attachment 169619 [details]
Libreoffice version 7.0.4.2 table borders
Comment 11 Riyadh 2021-02-09 13:58:42 UTC
Created attachment 169622 [details]
writer default user-defined pre-made border line marking in table selection

writer default user-defined pre-made border line marking in table selection
Comment 12 Riyadh 2021-02-09 13:59:43 UTC
This is the original complaint.
Comment 13 Riyadh 2021-02-09 14:04:58 UTC
(In reply to Buovjaga from comment #9)
> sebi: I think it would be helpful, if you created a video showing all the
> steps.

(In reply to sebi from comment #8)
> (In reply to Riyadh from comment #5)
> > Hello,
> > 
> > It is the expected behavior.
> > 
> > This is "User-defined"; i.e. for you to change.
> > 
> > If your selection is surrounded by other cells from all sides, and to help
> > you doing selection, a "BASE" selection by default is already made for the
> > left and lower lines!
> > 
> > But you are free to remove these and/or add others as you like!
> 
> Hello,
> It's strange your opinion. 

I have uploaded attachment for explanation (but I guess we have the same opinion about this now)

> However, if i select a table cell and mark the upper border with red colour
> (for example), then i select the upper table cell and mark the bottom border
> with green color (for example), the border remains with the red colour.

Would you please mention the document/paragraph direction (RTL) or (LTR)? and whether it happens when you shift direction.

This would very much help in judging whether it is related to previous complaints or it is something new.
Comment 14 Riyadh 2021-02-09 14:31:27 UTC
I have changed status to NEEDINFO.

@Seb:
Once you provide the requested information, I am pretty sure this will be a NEW or DUPLICATE.
Comment 15 Buovjaga 2021-02-09 15:13:23 UTC
(In reply to Riyadh from comment #11)
> Created attachment 169622 [details]
> writer default user-defined pre-made border line marking in table selection
> 
> writer default user-defined pre-made border line marking in table selection

This is a good point. Sorry, I was lazy in checking and understanding.
Comment 17 [REDACTED] 2021-02-12 11:21:18 UTC
(In reply to Riyadh from comment #13)
 
> Would you please mention the document/paragraph direction (RTL) or (LTR)?
> and whether it happens when you shift direction.
> 
> This would very much help in judging whether it is related to previous
> complaints or it is something new.

Hello! 
i did't enable "Complex text layout" option and the text entry is right-to-left (RTL).

If i enable CTL and change text entry to left-to-right (LTR), the problem is the same with table borders.

Thank you!
Comment 18 QA Administrators 2021-02-13 04:05:05 UTC Comment hidden (obsolete)
Comment 19 Riyadh 2021-02-16 13:44:57 UTC
@Sebi:
Thank you because you were accurate in description (and thank you because it is not CTL or direction switching issue!)

Anyhow, it goes like this:

At the bottom of Borders dialogue, there is the checkbox option:
Merge adjacent styles.

1. If this checkbox is checked (it is checked by default):
The adjacent border styles will be merged. So, if you choose to add a border on some side which lies between two cells, but you add the border twice for that side; once for each cell, then only one of them will show: the PRECEDING one. 

So if you choose to add red color for the upper side of cell X, then you go to the cell Y which lies directly above cell X, and add green color to its bottom side (which is also the upper side of cell X), then only the PRECEDING color RED will show.

However, if you make one of them with more THICKNESS, then this is the one which will show.
So, if you repeated the process of adding colors, but made the green color with more thickness, then only the THICKER color GREEN will show.

2. If the checkbox is unchecked, both borders will show.

Would you please try the proposed explanation and confirm the results from your side.

@Ilmari:
I tried to find some documentation for this, but failed.
Can you help in directing us to the appropriate documentation?
Comment 20 Buovjaga 2021-02-16 14:20:38 UTC
(In reply to Riyadh from comment #19)
> @Ilmari:
> I tried to find some documentation for this, but failed.
> Can you help in directing us to the appropriate documentation?

https://help.libreoffice.org/latest/en-US/text/scalc/guide/borders.html?DbPAR=CALC#bm_id3457441
https://help.libreoffice.org/latest/en-US/text/shared/guide/border_table.html?DbPAR=SHARED#bm_id3155805

Writer 6.4 guide has Specifying table borders starting from page 289: https://documentation.libreoffice.org/en/english-documentation/
Comment 21 [REDACTED] 2021-02-17 15:49:43 UTC
(In reply to Riyadh from comment #19)

I confirm what you said. I think that's how it's designed.
Comment 22 Buovjaga 2021-02-17 16:01:15 UTC
(In reply to sebi from comment #21)
> (In reply to Riyadh from comment #19)
> 
> I confirm what you said. I think that's how it's designed.

Ok, let's close. There is bug 87787 for improving things.