Bug 67248 - FILEOPEN Layer with reserved name vanishes when changing UI language
Summary: FILEOPEN Layer with reserved name vanishes when changing UI language
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Drawing (show other bugs)
Version: 4.0.4.2 release
Hardware: x86 (IA32) All
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-24 10:52 UTC by Rolf Eder
Modified: 2014-01-17 17:48 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
drawing to test (7.66 KB, application/vnd.oasis.opendocument.graphics)
2013-07-26 22:50 UTC, Cor Nouws
Details
layer.odg (18.31 KB, application/vnd.oasis.opendocument.graphics)
2014-01-17 17:48 UTC, pierre-yves samyn
Details

Description Rolf Eder 2013-07-24 10:52:12 UTC
Create a new drawing in LibO with UI in default English (USA).
Insert a layer named "Hintergrund".
Save the drawing.
Change the UI language to German (Germany).
Restart LibO and open the drawing.
The layer "Hintergrund" is missing.

The same happens when you insert a layer "Background" in the German UI and then switch to English.

The contents of the vanished layer are moved to the default layer "Layout".

It is in general not possible to insert a layer "Background" in UI English or "Hintergrund" in UI German. A MsgBox opens: "The name chosen already exists. Please enter another name."

These layer names are reserved in their respective language. Switching the UI language bypasses this function.

This may be considered as a bug in multi language environments and complex drawings with many layers. Beware the special names ...
Comment 1 Cor Nouws 2013-07-26 22:50:41 UTC
Created attachment 83072 [details]
drawing to test

Hi Dolf,

thanks for the report.
I started the attached in Dutch, with layer "NieuweLaag" added.
Opening when changed the UI language to English, works fine...
So I cannot confirm this (in 4.0.4.2)
Comment 2 pierre-yves samyn 2014-01-17 17:48:26 UTC
Hello

I reproduce on windows 7/64 with Versie: 4.2.0.2 
Build ID: cd65d6220c5694ee7012d7863bcde3455c9e3c30

I have created custom layers in the attached layer.odg:
- Achtergrond
- Arrière-plan
- Background
- Hintergrund

"Achtergrond" can be created with UI english but will not be visible in UI Dutch.
Same with the others: "Arrière-plan" & French, "Hintergrund" & German.

Regards
Pierre-Yves
Comment 3 pierre-yves samyn 2014-01-17 17:48:54 UTC
Created attachment 92299 [details]
layer.odg


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.