Bug 96185 - Can't delete hidden image or table in Document / draft keeps prompting for non-existing field
Summary: Can't delete hidden image or table in Document / draft keeps prompting for no...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.6.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 15:34 UTC by abma
Modified: 2016-01-10 12:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
error.ott (39.45 KB, application/vnd.oasis.opendocument.text-template)
2015-12-01 15:34 UTC, abma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description abma 2015-12-01 15:34:35 UTC
Created attachment 120934 [details]
error.ott

when opening the attached document, LO prompts for input of an input field without a name which doesn't exist.

i found no way to remove the prompt:
in object navigator there is a hidden table and a hidden image. these can't be deleted (or idk how).

tested on windows, not sure if relevant.
Comment 1 Buovjaga 2015-12-04 18:46:09 UTC
I guess you could remove them by extracting the .ott as a .zip file and editing content.xml somehow. Then zip it back again.

I'm not sure, if this should be confirmed as a bug or not.. I do see the described effect.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 81fa5340191baf8687f9c82f1f414f5afc86b529
Threads 4; Ver: Windows 6.1; Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-12-03_21:19:19
Locale: fi-FI (fi_FI)
Comment 2 Jean-Baptiste Faure 2016-01-10 12:43:19 UTC
Your document is a template and the image and table are in the header of the default page style.
To remove the image or the table you need to create a second page first, ctrl+Enter does the job. Then you can see the table and the image.
To remove the "non existent field", you need to edit the template (import it in your templates and use Edition button in the Template management dialog) and uncheck the conception mode in the Edition menu. I did that in the next version 5.1.

I think that the designer of this template should have explained in the body of the template how it is intended to work and how it can be modified. Creating a template by doing a document, removing all its content and saving the result as a template, is not a good method.

Closing as NotOurBug.

Best regards. JBF