Bug 155673 - Unbordered table cells become bordered when changing their border style via toolbar (see comment 11)
Summary: Unbordered table cells become bordered when changing their border style via t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2023-06-04 17:08 UTC by Alhay94
Modified: 2023-10-26 07:04 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
The result file with outer borders selected only, and after I change the border style to double, and some inner borders are drawn (9.76 KB, application/vnd.oasis.opendocument.text)
2023-06-04 17:08 UTC, Alhay94
Details
description with pictures of what I have done (152.97 KB, application/vnd.oasis.opendocument.text)
2023-06-06 16:45 UTC, Alhay94
Details
the Help Info (103.24 KB, image/png)
2023-06-08 17:17 UTC, Alhay94
Details
test in version 7.5.4.2 (145.42 KB, application/vnd.oasis.opendocument.text)
2023-07-06 22:01 UTC, Alhay94
Details
The result in PDF type (101.24 KB, application/pdf)
2023-07-24 10:54 UTC, Alhay94
Details
Screenshot with Actual Behavior and Expected Behavior (39.34 KB, image/png)
2023-10-18 12:48 UTC, Mihai
Details
One minimum and obvious example of replicating this bug (406.86 KB, video/mp4)
2023-10-26 07:04 UTC, Mihai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alhay94 2023-06-04 17:08:58 UTC
Created attachment 187716 [details]
The result file with outer borders selected only, and after I change the border style to double, and some inner borders are drawn

I have a table with 5 columns and 4 lines.
I select the whole table.
I choose "drawing of outer borders only"; here it's correct.
Now I want to change the border style ( always with the whole table selected ), 
 I choose a border style ( ex : double border ), and some inner borders are drawn.
See the result in the attachment.
Comment 1 Adam664 2023-06-05 19:32:57 UTC
Thank you for reporting the bug. Can you copy and paste the version information by going to the Help menu and selecting 'About LibreOffice'.

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided
Comment 2 Adam664 2023-06-06 00:37:40 UTC
I can not reproduce the bug in

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 16; OS: Windows 10.0 Build 22000; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 3 Alhay94 2023-06-06 16:45:19 UTC
Created attachment 187756 [details]
description with pictures of what I have done

just an explanation
Comment 4 Buovjaga 2023-06-08 15:39:35 UTC
Alhay94: we still need the text from Help - About.
Comment 5 Alhay94 2023-06-08 17:17:49 UTC
Created attachment 187788 [details]
the Help Info

it's what you were asking
Comment 6 Buovjaga 2023-06-08 17:23:33 UTC
(In reply to Alhay94 from comment #5)
> Created attachment 187788 [details]
> the Help Info
> 
> it's what you were asking

Yes, but just clicking the copy button next to Information de version and pasting as text would have been enough (and better).
Comment 7 Alhay94 2023-06-08 17:28:27 UTC
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 8 ysui2022 2023-07-05 20:35:34 UTC
I cannot produce this bug. When I change the style of the border the same way as you, it changed all borders including all the inside borders although I did choose the outside borders.

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: CL threaded
Comment 9 Alhay94 2023-07-06 22:01:17 UTC
Created attachment 188240 [details]
test in version 7.5.4.2

Normally, changing the style of borders, must change only the borders already drawned ?
Is it not true ?
Comment 10 Alhay94 2023-07-24 10:54:25 UTC
Created attachment 188535 [details]
The result in PDF type

I send an explanation file in PDF type.
Comment 11 Mihai 2023-10-18 12:40:19 UTC
I found and isolated the actual behavior:

Bug summary (title): Unbordered table cells become bordered when changing their border style via toolbar.

Short description:
If a table cell is unbordered and the user changes the border style of that cell via the table toolbar, then the cell will become styled and bordered with the selected style.

Steps:
1. Open LibreOffice Writer;
2. Go to the `Table` menu and choose the `Insert Table` option;
3. In the newly opened window, config one or more columns and rows and set `None` as the style;
4. Click on Insert;
5. Put the cursor in one cell or select more cells using the mouse;
6. From the Table Toolbar, change the style of the borders via the Border Style option;

Actual behavior (AB):
The unbordered cells become bordered with the selected border style (also checked with the table properties that the cell(s) is actually bordered). Please take a look at the screenshot attached in the next comment.

Additional info related to AB:
- The bug is not reproducible if the changing of the border style (step 6) is made via Table-> Table Properties-> modify the style from the `Line` section of the `Borders` tab.
- The bug is reproducible if the unbordered table is created via another path.
- The bug seems to be platform-independent -> it was reproduced both on Windows(10) and Ubuntu(22.04).
- The minimum version on which the bug can be reproduced is:
Version: 7.4.0.0.alpha1 (x64) / LibreOffice Community
Build ID: b871abad383583f02eb49c7e49aeae01f6941072
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
- This bug is not reproducible in other similar features: changing the border style of an unbordered Frame.

Expected behavior (EB):
The unbordered table cells should not be bordered when their border style is changed from the table toolbar. The AB is inconsistent with the way the feature has behaved in the past (versions of LO lower than 7.4.0.0.alpha1).

Additional info related to EB:
-  No information was found in documentation 7.4 related to a possible change in the way cells without a border behave.
Comment 12 Mihai 2023-10-18 12:48:28 UTC
Created attachment 190277 [details]
Screenshot with Actual Behavior and Expected Behavior
Comment 13 Mihai 2023-10-26 07:04:40 UTC
Created attachment 190426 [details]
One minimum and obvious example of replicating this bug

I think that the behavior is not very obvious if only one cell is created in step 3. I added this attachment that shows the behavior using 2 cells. Hope it helps.