Bug 158848 - Fontwork inserted to wrong layer
Summary: Fontwork inserted to wrong layer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-24 08:19 UTC by Rainer Bielefeld Retired
Modified: 2023-12-31 08:07 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document created due to STR (10.90 KB, application/vnd.oasis.opendocument.graphics)
2023-12-24 08:19 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2023-12-24 08:19:05 UTC
Created attachment 191582 [details]
Sample document created due to STR

Steps how to reproduce with Server Installation of Version: 24.2.0.0.alpha0+ (X86_64)
Build ID: 7fff4e2ca6739928f72e5f0d2eb5820823916769
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: Locale: de-DE (de_DE); UI: de-DE; Theme: Colibre
Calc: CL threaded – normal Test Profile created from 7.6

1. Open new DRAWing
2. Create additional layer "adds"
3. Select new layer "adds" as active one by click on the Layer TAB
   » "adds" in LayerTab is bolt)
4. Menu ˋInsert → Fontwork → Click an arbitrary one like "Simple"ˊ 
   » "Fontwork appears in DRAWing
5. ˋCouble click Layer Tab "Layout" → Uncheck "Visible" → [OK]ˊ 
   » Expected: Nothing happens
   Actual: Fontwork disappears 😥 

Additional info
a) Fontwork has become wrongly inserted into Layer "Layout" instead of "adds"
b) Other Elements like Drawings, Pictures, Text fields are not affected. Only Fontwork
c)Attached sample document has been created due to STR, Fontwork has become wrongly inserted into "Layout"
Comment 1 Rainer Bielefeld Retired 2023-12-24 08:39:43 UTC
d) Already reproducible with LibO 4.0 and OOo 3.2, so inherited.
Comment 2 V Stuart Foote 2023-12-24 15:34:42 UTC
@Regina, any ODF facet to the layer of the Fontwork?
Comment 3 Regina Henschel 2023-12-24 20:34:52 UTC
(In reply to V Stuart Foote from comment #2)
> @Regina, any ODF facet to the layer of the Fontwork?

In now way. ODF has no default set of layers and it totally up to the application how it presents the layers to the user.

This is a bug. A Fontwork shape is the same as the other custom shapes in view of ODF. If you drag a Fontwork shape from the Gallery to the document, it will be placed on the active layer.
Comment 4 Regina Henschel 2023-12-24 20:53:47 UTC
When you set the environment variable GALLERY_SHOW_HIDDEN_THEMES, you can drag the preset Fontwork shapes from the Gallery.