Bug 133594 - 'Background color' setting from 'Formatting' toolbar does not set Table cells background
Summary: 'Background color' setting from 'Formatting' toolbar does not set Table cells...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-02 07:29 UTC by haenig
Modified: 2020-06-05 13:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of LO 6.4.3.2 compared to LO 6.2.5.2 (35.14 KB, image/png)
2020-06-02 07:31 UTC, haenig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description haenig 2020-06-02 07:29:58 UTC
Description:
If one tries to set the background color for a table's cells via the 'Background color' icon from the 'Formatting toolbar', there is "something" filled of the selected cells but not the whole background

Steps to Reproduce:
- create a new table
- set outer borders and inner lines (with some padding)
- mark some cells
- use the 'Background color' icon (little bucket) from 'Formatting toolbar' to fill the selected cells' background

Actual Results:
- the background will be filled partial, the padding is visible as a white border. Also, if one cell has more lines of content than the others, only the lines containing something are colored.

- the 'Table' => 'Properties' ... => 'Background' Tab shows "none", whereas for LO 6.2.5.2 ther Color Tab shows what one has chosen using 'Background color' icon

Expected Results:
- the background should be completely filled without any padding,
- the 'Table' => 'Properties' ... => 'Background' Tab should reflect the setting


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.4.3.2
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.utf8); UI-Language: en-US
Calc: threaded

OS is openSuSE Tumbleweed
Comment 1 haenig 2020-06-02 07:31:39 UTC
Created attachment 161506 [details]
screenshot of LO 6.4.3.2 compared to LO 6.2.5.2
Comment 2 Maxim Monastirsky 2020-06-02 08:15:30 UTC
Confirmed. The "Background Color" button now sets paragraph background even when cells are selected. But is this really an issue, given that there is a dedicated "Table Cell Background Color" button on the table toolbar?
Comment 3 haenig 2020-06-04 09:56:00 UTC
Since the used 'Background color' icon is from the 'Table toolbar' and I can find no separate 'Table Cell Background Color' entry in the 'visible buttons' list, it is an issue, yes.
Comment 4 Maxim Monastirsky 2020-06-04 12:30:03 UTC
(In reply to haenig from comment #3)
> Since the used 'Background color' icon is from the 'Table toolbar' and I can
> find no separate 'Table Cell Background Color' entry in the 'visible
> buttons' list, it is an issue, yes.
The table toolbar do have the "Table Cell Background Color" button in its default configuration in recent versions of LO. It might be that you have toolbar customization left from older versions. You can reset the toolbar by right clicking on it > Customize Toolbar..., and click on "Defaults". Or you can just add that specific button to the toolbar.
Comment 5 haenig 2020-06-04 12:53:01 UTC
I found it, thanks a lot.

Do you by any chance know the name of this icon for replacing the default one within the theme?

regards Thomas
Comment 6 Maxim Monastirsky 2020-06-05 07:29:34 UTC
Thanks, guess we can close this bug.

(In reply to haenig from comment #5)
> Do you by any chance know the name of this icon for replacing the default
> one within the theme?
The command name is .uno:TableCellBackgroundColor, so related icons are cmd/32/tablecellbackgroundcolor.png, cmd/lc_tablecellbackgroundcolor.png and cmd/sc_tablecellbackgroundcolor.png. Right now they just linked to some other icon in links.txt.
Comment 7 haenig 2020-06-05 13:14:35 UTC
Thanks a lot again. :-)

the following lines put into links.txt of my galaxy.oxt did the trick:

cmd/lc_tablecellbackgroundcolor.png cmd/lc_formatarea.png
cmd/sc_tablecellbackgroundcolor.png cmd/sc_formatarea.png


Thomas