Bug 156047 - In Impress template, copied title box takes formatting of the title of the slide it is pasted into
Summary: In Impress template, copied title box takes formatting of the title of the sl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Templates
  Show dependency treegraph
 
Reported: 2023-06-25 02:37 UTC by d00m3d.olw
Modified: 2023-06-29 00:16 UTC (History)
1 user (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 d00m3d.olw 2023-06-25 02:37:28 UTC
Using the Blue Curve template in Impress, the text in copied Title box is invisible because its colour attribute (default in red) is lost, or changed to white, for unknown reason.

Steps to Reproduce:
1. Start a new Impress Presentation
2. In "Select a Template" dialog box, choose "Blue Curve"
3. On page 1, type anything, e.g. 'Test!!!' in "Click to add Title" box
4. Copy this title box to page 2.

Expected result:
Title box with 'Test!!!' text should appear on page 2, same appearance as first page.

Actual result:
Title box is copied but text is not visible because text is same (white) colour
as background.  'Test!!!' text can be visible again when its colour is changed.

Version of LO that is LKG:
====================================================
Version: 5.0.6.3 (x64)
Build ID: 490fc03b25318460cfc54456516ea2519c11d1aa
Locale: en-HK (en_HK)

Affected versions (most likely from 6.0 onwards)
====================================================
Version: 6.0.7.3 (x64)
Build ID: dc89aa7a9eabfd848af146d5086077aeed2ae4a5
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: en-HK (en_HK); Calc: CL

Version: 6.4.8.0.0+ (x64)
Build ID: 188ddcd482150b5fdeb44d97e57831e3e27b3f5b
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: GL; VCL: win; 
Locale: en-US (en_HK); UI-Language: en-US
Calc: CL

Version: 7.4.8.0.0+ (x64) / LibreOffice Community
Build ID: 01ce3266484451e0984ed1ba07944745f44fc9e0
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_HK); UI: en-US
Calc: CL

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 20873f073ae4a9478f0a84355f779a2176bd2ec8
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_HK); UI: en-US
Calc: CL threaded

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c968d8989004301b49d67a093a6eb8a629533837
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_HK); UI: en-US
Calc: CL threaded

This bug is likely inherited from 6.0.x, and it is still present in the latest master branch.

I think this bug should not be difficult to correct.  I would be highly appreciated if it may be fixed as soon as possible.

Thanks a lot!
Comment 1 Stéphane Guillou (stragu) 2023-06-29 00:16:11 UTC
Also happens in the Vivid template, copying the title text box from the first slide to the second. But it doesn't if pasting into the third slide.

My understanding is that it depends on what default style each slide of the template assigns to the title boxes:
- For Vivid, the title is blue for the first slide but white (on blue) for the second
- For Blue Curve, the title is red for the first slide but white (one blue) for the second

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 609a1567d0e60ca11800df56059b97b6a61ad117
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Using the exported Blue Curve template, I could reproduce in OOo 3.3, so this is inherited.

Once the text colour is changed, the formatting is persistent when pasted.