Issue 53212

Summary: "Insert Field" always inserts to layer "Layout", not to actual selected one
Product: Draw Reporter: Rainer Bielefeld <rainerbielefeld_ooo_qa>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues
Version: 680m122   
Target Milestone: AOO Later   
Hardware: PC   
OS: Windows 98   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 53214    

Description Rainer Bielefeld 2005-08-11 11:57:10 UTC
I checked with 2.0 (1.9.m122) German version WIN 98SE: [680m122(Build8941)] and
also 1.1.4 (German) WIN XP: [645m52 (Build 8824)], both with same result: 
"Insert Field" always to layer "Layout", even if other layer is selected.

Steps to reproduce:
1. open new drawing
2. change to layer "Controls" (or any other except "Layout")
4. Menu: "Insert - Field - Date"
   (Same behaviour with other fields as page number, ...)
5. After you inserted, change to layer "LAyout"
6. "Modify Layer", check "protected"
7. move Mousepointer to inserted field
8. click and press key "delete"
   expected: Field text should be marked and can be deleted, because layer
             "controls" is not locked
   actual: Field text can not be marked, because it ist protected by locked
           layer "Layout", and so a it can not be deleted before layer 
           "Layout" is unlocked

This behaviour differs from other "inserts", which always are for actual
selected layer.
Comment 1 wolframgarten 2005-08-11 12:32:12 UTC
Reproducible. Reassigned.
Comment 2 clippka 2005-08-11 12:43:07 UTC
This is the specified behaviour. The layer "Layout" is for controls, therefore
new controls are always inserted on that layer. This was introduced while
designing the application to allow the user to quickly hide all controls or to
disable printing for controls.
Comment 3 wolframgarten 2005-08-11 12:44:46 UTC
Ok, setting to works for me.
Comment 4 wolframgarten 2005-08-11 12:44:56 UTC
Closed.
Comment 5 wolframgarten 2005-08-11 13:02:33 UTC
Reopened.
Comment 6 wolframgarten 2005-08-11 13:03:42 UTC
Reopening. It is ok that the fields get inserted on the same layer. But it
should be the controls layer, not the layout layer ;-) What else do we have it for?
Comment 7 Marcus 2017-05-20 11:31:20 UTC
Reset assigne to the default "issues@openoffice.apache.org".