Issue 82414

Summary: "Hidden text" (field) printed when displayed as formatting aid
Product: Writer Reporter: mbayer <ooo>
Component: uiAssignee: h.ilter
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Dummy text, first 2 paragraphs are "hidden text" (field).
none
The same document, exported to PDF (with option "show hidden text" active). none

Description mbayer 2007-10-08 22:47:24 UTC
The content of hidden text fields is printed and exported to PDF when the option
Formatting aids - Display of - Fields: Hidden text is set, even if they should
be hidden (condition is true).

How to reproduce:
1. Have some text and mark a portion of it.
2. Insert -> Fields -> Other... -> Functions - Type: Hidden text - Condition:
"TRUE". Click Insert (and Close).
3. In Tools -> Options... -> OOo Writer -> Formatting Aids, section Display of,
check the option "Fields: Hidden Text". Click OK.
4. Hidden text is now displayed (grey, if field shadings are activated), even
though condition "TRUE" is always true (which is OK).
5. Check with File -> Page preview: Hidden text is not displayed (which is OK, too).
6. Close the preview, print the document, and export it to PDF.

Expected: Hidden text fields do not appear in the paper print, nor in the PDF
file (= as the preview).
Seen: Hidden text fields are printed and exported to PDF, even when condition is
true.

Double-check: In Tools -> Options... -> OOo Writer -> Formatting Aids, section
Display of, now uncheck the option "Fields: Hidden Text", and print again:
hidden text fields are not printed (nor included into a PDF).

OOo 2.3.0 (B9221) and OOo 680_m231 under Linux (both RPM, and both de_DE and
en_US), OOo 2.3.0 (B9221) under Win2000 (de_DE).
Comment 1 michael.ruess 2007-10-09 09:48:54 UTC
Reassigned to HI.
Comment 2 h.ilter 2007-10-09 14:29:02 UTC
I did all your steps but couldn't reproduce. (suse linux).
Please provide a *.odt and one pdf file to evaluate. Thanks.
Comment 3 mbayer 2007-10-09 16:06:01 UTC
Created attachment 48783 [details]
Dummy text, first 2 paragraphs are "hidden text" (field).
Comment 4 mbayer 2007-10-09 16:06:58 UTC
Created attachment 48784 [details]
The same document, exported to PDF (with option "show hidden text" active).
Comment 5 h.ilter 2007-10-22 12:16:47 UTC
Please decide, if this one is double to i81434
Comment 6 Oliver Specht 2007-11-09 13:22:01 UTC
Fixed in cws os106
Comment 7 Oliver Specht 2007-11-09 13:22:34 UTC
Reassigned for verification
Comment 8 h.ilter 2007-11-21 15:57:11 UTC
Verified with cws os106 = ok
Comment 9 h.ilter 2008-02-15 12:42:49 UTC
Still ok in 680m246