Bug 121494

Summary: Layer attributes saved incorrect when layer is deleted
Product: LibreOffice Reporter: Ulrich Gemkow <lobugs>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rb.henschel
Priority: medium    
Version: 6.1.3.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Example document with two layers added

Description Ulrich Gemkow 2018-11-18 17:59:07 UTC
Created attachment 146721 [details]
Example document with two layers added

Layer attributes (visible, printable, locked) are saved incorrect when a layer is deleted. To reproduce

- Open the attached example document. The drawing contains two layers named L-Visible and L-Visible+Printable with their attributes set according to their name

- Delete the layer L-Visible (use the context menu)

- Save the document and close lo

- Open the document again

- The Layer L-Visible+Printable now has only the visible-attribute set

In general when deleting a layer the attributes are shifted to the remaining layers.
Comment 1 Regina Henschel 2018-11-18 18:46:51 UTC
That has the same reason as the error in bug 119392. The fix will be available in version 6.2. Please try a current developer build.

*** This bug has been marked as a duplicate of bug 119392 ***