Bug 165422 - With multiple table cells with different background colors selected, wrong common background color shown
Summary: With multiple table cells with different background colors selected, wrong co...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: easyHack
Depends on:
Blocks: Area-Fill-Tab-Color
  Show dependency treegraph
 
Reported: 2025-02-24 19:45 UTC by Eyal Rozenberg
Modified: 2025-03-07 03:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example (11.71 KB, application/vnd.oasis.opendocument.presentation)
2025-02-26 15:26 UTC, wodsfort
Details
I think it`s may displayed like in my foto (11.93 KB, image/png)
2025-02-28 13:39 UTC, wodsfort
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-02-24 19:45:52 UTC
Reproduction instructions:

1. Create new presentation
2. Insert a table with at least 2 cells, e.g. 2 rows x 1 column
3. Set the backgrounds of the two cells to two different colors which are not light blue, e.g. purple and yellow.
4. Select the two cells (not the table as an object, which is a different kind of selection)
5. In the right-click context menu, choose "Table Properties..."
6. Choose the Background tab

Expected result:
No color is shown to be the selected background color

Actual result:
The default blue color, which you get when adding new shapes in an empty presentation, is shows as active. (It's R 114, G 159, B 207)
Comment 1 wodsfort 2025-02-26 15:26:48 UTC
Created attachment 199471 [details]
Example

Hmm, I see sa the same as you
Comment 2 wodsfort 2025-02-26 19:34:05 UTC
I think when you do all like @eyal_rozenberg in window of libreoffice instead of you may see text "Libreoffice cannot show colour because you selected two or more  objects
Comment 3 Heiko Tietze 2025-02-27 08:38:12 UTC
Same is true in other situations when you have two colors, eg. character highlighting in Writer.

What is the RGB value for the "Expected result: No color is shown to be the selected background color"? Kind of a Zen question, any change would be similarly wrong here.
Comment 4 Eyal Rozenberg 2025-02-27 20:13:28 UTC
(In reply to Heiko Tietze from comment #3)
> Same is true in other situations when you have two colors, eg. character
> highlighting in Writer.
> 
> What is the RGB value for the "Expected result: No color is shown to be the
> selected background color"? Kind of a Zen question, any change would be
> similarly wrong here.

Display _no_ R,G,B values. Very zen :-)

and in the colored rectangle, I'd suggest X'ing it and otherwise making it transparent.
Comment 5 wodsfort 2025-02-28 13:39:40 UTC
Created attachment 199527 [details]
I think it`s may displayed like in my foto
Comment 6 Heiko Tietze 2025-03-06 16:07:47 UTC
We discussed the topic in the design meeting.

The issue might be worth the effort to draw the shape differently or to replace it by an image. Hossein, easyhack?