Bug 157018 - Color theme is not read on import
Summary: Color theme is not read on import
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard: target:24.2.0 target:7.6.2
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-30 17:15 UTC by Regina Henschel
Modified: 2023-09-02 12:58 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Draw document with custom color theme (8.79 KB, application/vnd.oasis.opendocument.graphics)
2023-08-30 17:15 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-08-30 17:15:27 UTC
Created attachment 189263 [details]
Draw document with custom color theme

The attached file has a custom color theme. It is not read when opening in Draw. Instead the default color theme is used.
The import of such custom color theme works in Impress and therefore should work in Draw as well.

To see it in Impress do this: Open attached .odg file in _Impress_. To do that select the file in the file open dialog and then select the file type "ODF Drawing (Impress) (*.odg)". Scroll the list down to the Presentation section. There you will find this item.

Fill anything with a solid color. Thereby choose the palette "Theme colors". Notice that the "Light 1" color is Yellow and the "Light 2" color is Pink.

Now open the attached file as usual in _Draw_ and look at the "Theme colors" palette again. Notice that both "Light 1" and "Light 2" have the default White. The color theme was not read on file opening.
Comment 1 Commit Notification 2023-08-31 16:37:50 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/be53bf55c44dedd9a94c74b8f7c1c222746ed23f

tdf#157018 Enable import of color theme for Draw

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2023-09-01 12:40:24 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/f6004caf2c1f6b4935d6cb49284303ee34744919

tdf#157018 Enable import of color theme for Draw

It will be available in 7.6.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.