Bug 153496 - Using a theme color is not noticed as theme color
Summary: Using a theme color is not noticed as theme color
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Doc-Themes
  Show dependency treegraph
 
Reported: 2023-02-09 11:21 UTC by Regina Henschel
Modified: 2023-07-19 14:47 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
shape using theme colors (16.96 KB, application/zip)
2023-02-09 11:21 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-09 11:21:39 UTC
Created attachment 185259 [details]
shape using theme colors

Open attached file. It has a shape, which uses theme color.
Use the Development Tools to verify that FillColorTheme=4 and FillColorThemeReference.Type=4.

Now change the fill color. For that use the color set "Theme Colors" and click on "Accent6", for example.

Again inspect the properties with Development Tools. You will find FillColorTheme=-1 and FillColorThemeReference.Type=-1. The -1 means, that the used color is not a theme color.
Comment 1 V Stuart Foote 2023-02-09 18:54:43 UTC
Confirmed.

On import the shape is correctly colored, but the LO UI defaults to "Standard" color palette.  Selecting the shape and changing to the "Theme color" palette shows it is assigned the correct "Accent 1 " line color, and "Accent 1, 80% lighter" colors, but I'd guess that is by RGB match.

With the  "Theme color" palette in use, changing the line color to another theme Accent color does not change the area fill color--would expect them to be linked if "Theme color" import and configuration were working correctly in Writer. Doesn't seem to be.

With Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9d44236a62bf59d120dda89924d0d1407b2bd52b
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Tomaz Vajngerl 2023-02-10 00:19:37 UTC
Yes, I know about the issue, it happens because we dispatch a command, but all uno command to change the color currently don't have a way to transport theme parameters.
Comment 3 Regina Henschel 2023-02-10 22:14:17 UTC
The problem is only with the drop-down in the toolbar or in the sidebar. The theme is correct, when the color is chosen in the Area-dialog.