Bug 139983 - [TABLE] Setting cell background to None, changes row background from Color to None.
Summary: [TABLE] Setting cell background to None, changes row background from Color to...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables-Select
  Show dependency treegraph
 
Reported: 2021-01-28 21:26 UTC by LeroyG
Modified: 2022-05-16 07:00 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample .odt file with a table with background Color in some rows (8.60 KB, application/vnd.oasis.opendocument.text)
2021-01-28 21:29 UTC, LeroyG
Details
Video showing the bug. (3.35 MB, video/avi)
2021-02-01 16:24 UTC, LeroyG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LeroyG 2021-01-28 21:26:07 UTC
Description:
Setting cell background to None (when already None), changes the row background from Color to None.



Steps to Reproduce:
1. Create a table.
2. Set row background to Color.
3. Select cell/s in the same row/s, set cell background to None.

Actual Results:
Row background revert to None.

Expected Results:
Row background remains without change in the unselected cells.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
This does not happen if before step 3, some Color is set in some cells.

Version: 6.4.7.2 (x86)
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; 
Locale: es-MX (es_MX); UI-Language: en-US
Calc: threaded

Version: 7.0.4.2 (x86)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (es_MX); UI: en-US
Calc: threaded
Comment 1 LeroyG 2021-01-28 21:29:08 UTC
Created attachment 169252 [details]
Sample .odt file with a table with background Color in some rows

Just select cells A1:A2, choose menu Table - Properties… - Background tab, there select Cell, press None and OK.
Comment 2 Telesto 2021-01-29 15:44:43 UTC
Repro. Somewhat in the same area: bug 135753
Comment 3 Heiko Tietze 2021-02-01 14:42:00 UTC
Cannot confirm

Version: 6.4.7.2
Build ID: 6.4.7-9
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5; 
Locale: de-DE (en_US.UTF-8); UI-Language: en-US
Calc: threaded

If I set a background color for the table to something, select some rows to show another color, and finally a couple of cells in something else I can revert this by changing the individual attribute back to None. 

No need for UX.
Comment 4 LeroyG 2021-02-01 16:24:08 UTC
Created attachment 169359 [details]
Video showing the bug.
Comment 5 Heiko Tietze 2021-02-02 08:54:56 UTC
Okay, sometimes it does remove other formatting but sometimes not. If I got it right it depends on previous changes and if you undo the last per-cell operation and apply again the issue will not happen. Clearly a bug.
Comment 6 LeroyG 2021-02-03 15:43:15 UTC
More testing: First occurrence of cell background (None, Color, Bitmat) in a new table removes row background.
Comment 7 LeroyG 2022-05-15 20:47:45 UTC
Not reproducible with:

Version: 7.2.3.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 1; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: es-MX (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 8 QA Administrators 2022-05-16 03:35:37 UTC Comment hidden (obsolete)
Comment 9 Telesto 2022-05-16 07:00:15 UTC
Seeing no issue either
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: cdf8e971d5d46df4bcab35a99c4254df9459213f
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-GB
Calc: CL Jumbo