Bug 158488 - Impress templates: styles hierarchy for Text is broken
Summary: Impress templates: styles hierarchy for Text is broken
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.0.6.2 release
Hardware: All All
: medium normal
Assignee: Laurent Balland
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: Templates
  Show dependency treegraph
 
Reported: 2023-12-02 10:53 UTC by Laurent Balland
Modified: 2023-12-06 08:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Balland 2023-12-02 10:53:31 UTC
Description:
Text styles follow a hierarchy Text > A0 > Heading A0, Text A0, Title A0 / A4 > Heading A4...
If you use a template all text styles inherit from A4

Steps to Reproduce:
1. Create a new presentation based on an embedded template (Blue Curve for instance)
2. In sidebar, select Styles
3. Select Drawing styles
4. Open Text > A0 and Text > A4

Actual Results:
There are no styles which inherit from A0. Heading A0, Header A0 and Text A0 inherit from A4

Expected Results:
Heading A0, Header A0 and Text A0 should inherit from A0


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Bug first found in Version: 7.0.6.2
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

Hierarchy is ok with Version : 6.4.7.2
Build ID : 639b8ac485750d5696d7590a72ef1b496725cfb5
Threads CPU : 8; OS : Linux 5.15; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

The hierarchy is ok if no template is used.
Bug is present with all templates, even new ones from Indonesian set.
Comment 1 m_a_riosv 2023-12-02 11:55:29 UTC
Reproducible
Version: 7.6.3.2 (X86_64) / LibreOffice Community
Build ID: 29d686fea9f6705b262d369fede658f824154cc0
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 0c3f57487c9cc29d172121b178938cdb2a8adc7b
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

LiBO 6.4.7 had different styles.
Comment 2 Commit Notification 2023-12-06 08:04:33 UTC
Laurent Balland committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0f82e9d42822e627edd1fb3b3c87e1f8a22136a4

tdf#158488 Impress templates: restore style hierarchy

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.