Bug 151900 - Better document theme defaults for a new document
Summary: Better document theme defaults for a new document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Color-Palettes Document-Themes
  Show dependency treegraph
 
Reported: 2022-11-04 14:36 UTC by Miklos Vajna
Modified: 2023-03-30 14:28 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Proposed RGB values. (34.10 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-11-04 14:36 UTC, Miklos Vajna
Details
Screenshot of attachment 183417 (58.03 KB, image/png)
2022-11-08 09:32 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Vajna 2022-11-04 14:36:42 UTC
Created attachment 183417 [details]
Proposed RGB values.

Steps to reproduce the problem:

1) Open e.g. svx/qa/unit/data/theme.pptx

2) Go to the master page of the first slide

3) Go to Slide -> Slide properties menu item, then the Theme tab

4) Notice that there is a reasonably set of 12 colors set there

5) Now repeat the same for a new Impress document

Expected result:

A similarly sane set of default colors are set.

Actual result:

Everything is set to automatic, one has to came up with good-looking colors for new documents.

I've asked Heiko to provide some good-looking RGB values. Column B of the attached Themed_Colors.ods has such colors.

The task is to improve the UI that creates new Impress documents to use those colors by default. The behavior for existing documents should be unchanged.
Comment 1 Miklos Vajna 2022-11-04 14:37:36 UTC
Adding CC to people. I'm filing this as a bug as I don't have time to do this myself right now and it's possible Tomaz would have a student to work on this.
Comment 2 Heiko Tietze 2022-11-08 09:32:37 UTC
Created attachment 183459 [details]
Screenshot of attachment 183417 [details]

(In reply to Miklos Vajna from comment #0)
> Created attachment 183417 [details]

As PNG for quick access.
Comment 3 Heiko Tietze 2022-11-08 09:35:01 UTC
Bug 151507 suggests to change the palette so these themed colors would be the basis.
Comment 4 Miklos Vajna 2023-01-17 09:38:46 UTC
As a start, Tomaz added the provided colors to code, in svx/source/styles/ColorSets.cxx:175. What still needs doing is to use one of the color sets for new documents by default.

And perhaps move the color values from code to config.