Bug 153359 - Theme color UI mess with background <-> text labels
Summary: Theme color UI mess with background <-> text labels
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Doc-Themes
  Show dependency treegraph
 
Reported: 2023-02-03 18:47 UTC by Regina Henschel
Modified: 2023-03-31 13:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Shapes using theme colors (20.42 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-02-03 18:47 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-02-03 18:47:40 UTC
Created attachment 185094 [details]
Shapes using theme colors

Open attached file. It contains two shapes. The text in the shape is a quote of the label I see in PowerPoint.

Now go to the area fill dialog and look at the labels you get in LibreOffice.

"Text 1"   becomes  "Background - Dark 1"
"Background 2" becomes "Text - Light 2".
Comment 1 Julien Nabet 2023-02-04 08:52:21 UTC
On pc Debian x86-64 with master sources updated today, I don't know where to find these labels.

I tried:
- sidebar, area part
- right click on the shape then area (there are just buttons "None", "Color", "Gradient", ... + palette, Active, New, Pick, ...)
Comment 2 Regina Henschel 2023-02-04 12:40:25 UTC
Open the area dialog e.g. from context menu and go to tab 'Color'. The drop-down list 'Palette' has an item 'Theme colors'. When you hover a color in that palette, then you get a small yellow tooltip explaining the color. And in that tooltip for the first four columns the words 'Text' and 'Background' are exchanged.

When you use the sidebar you need to use the set 'Theme colors' in the drop-down of the fill color. The tooltips are the same as in the dialog.

If you have got a MS Office 365 you can compare the tooltips with those shown by MS Office.
Comment 3 Julien Nabet 2023-02-04 17:19:38 UTC
Thank you Regina for the detailed feedback.
I could reproduce this on pc Debian x86-64 with master sources updated today.

Code pointers:
https://opengrok.libreoffice.org/xref/core/include/svx/strings.hrc?r=ade49eb1#1124

https://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/PaletteManager.cxx?r=d327a3bf#200