You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/12/18 13:18:02 UTC

[Issue 125954] New: Sending document as Email removes invisible content - this should be a configuration option

https://issues.apache.org/ooo/show_bug.cgi?id=125954

          Issue ID: 125954
        Issue Type: DEFECT
           Summary: Sending document as Email removes invisible content -
                    this should be a configuration option
           Product: Writer
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: configuration
          Assignee: issues@openoffice.apache.org
          Reporter: denis.simonet@adfinis-sygroup.ch

Created attachment 84303
  --> https://issues.apache.org/ooo/attachment.cgi?id=84303&action=edit
Proposal for the new option

When sending a document by eMail, OpenOffice intentionally removes any
invisible content. While this can be appropriate for some users, others will
not expect this to happen. In fact, there are situations where removing
invisible content (such as hidden sections) damages the document. Therefore we
suggest to introduce a new option which makes it possible to control this
behaviour.

It is about the following code: main/sw/source/ui/app/docsh2.cxx +1175 (Call to
mpDoc->RemoveInvisibleContent())

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

sandra.ilcus@altom.ro <sa...@altom.ro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandra.ilcus@altom.ro

--- Comment #4 from sandra.ilcus@altom.ro <sa...@altom.ro> ---
In order to see that I understood what the report is about, I’ve replicated the
bug described by the initial reporter (Denis Simonet).

Configurations:

- Operating System: Windows 7 Professional x64
- Program/component name: OpenOffice Writer 4.1.0 and 4.1.1
- Release number for 4.1.0: Milestone AOO410m18 | Build ID 9764 | SVN r1589052
- Release number for 4.1.1: Milestone AOO411m6 | Build ID 9775 | SVN r1617669

Problem description:
The text that was marked as hidden in the OpenOffice Writer is removed when the
document is uploaded and sent as an attachment via email.

Steps to reproduce:
1. Create or open an .odt file in OpenOffice Writer
2. Input content like text, paragraphs, tables in the document
3. Click Insert > Fields > Other >Select the Functions tab > Select ‘Hidden
text’
4. Type the text that you want to hide in the Hidden text box
5. Click Insert and Close
6. Save the document as an .odt file
7. Attach the saved document to an email > Send the email to your own address
8. After receiving the email, open the attachment and look for the hidden text  

Actual result: The text hidden in OpenOffice Writer is removed, when the file
is sent via email as an attachment.


Follow-up Tests:
Additionally, I did some research regarding the problem with the current design
and initial reporter’s proposed design, because my initial intention is to
advocate the proposed design.

This is what I did:

- I’ve checked on different versions of OpenOffice --> This design bug is
applicable to 4.1.1 version of OpenOffice, but also to older ones, like 4.1.0,
or 4.0.1.

- I’ve found out there are several ways of hiding text in OpenOffice Writer:
https://wiki.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Writer_Guide/Developing_conditional_content
--> Applying any of them, I’ve noticed that the content is still removed when
sending the document via email.

- I’ve checked what happens when saving the file as a PDF --> Same behavior:
the hidden text from the .odt file is removed, when the file is saved as a PDF.

- I’ve compared the current design with competing products, like Microsoft Word
--> Hiding text in a Word document and sending it via email, also removes the
hidden text. So, a competing product like Microsoft Word also doesn’t offer the
option to remove or leave the hidden text in a document sent via email. 

- I've searched the Bugzilla database for other similar bugs (Unconfirmed,
Confirmed, Accepted) that might have been reported, related to hidden content.
There are many results for the term 'hidden': 
https://issues.apache.org/ooo/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=ACCEPTED&list_id=164456&product=Writer&query_format=advanced&resolution=---&short_desc=hidden&short_desc_type=allwordssubstr
--> I couldn't find any bugs in which the reporters were complaining about the
fact that the hidden text is not displayed when sending the document via email.
Moreover, there were bugs where the complain was about the fact that the hidden
sections/fields/text are visible when exported, for example, to PDF
(https://issues.apache.org/ooo/show_bug.cgi?id=114633), as HTML   
(https://issues.apache.org/ooo/show_bug.cgi?id=45969). 

- Since the initial reporter mentioned that “there are situations where
removing invisible content (such as hidden sections) damages the document”,
I’ve searched in the Bugzilla database for such situations --> Unfortunately, I
didn’t find any clear and powerful situations to enhance the reporter’s
statement and proposal. 


Conclusion after my follow-up tests: 
Since I didn’t find any relevant information (i.e. user complains about the
current design, example of situations when removing hidden content damages the
document, concurrent products that have already implemented the proposed
design) I can’t rely on for advocating the proposed design, I decide to agree
with the current (original) design.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

--- Comment #5 from dyo <ol...@bger.ch> ---
I don't agree with the conclusion that Sandra Ilcus make because:

1. We are an important administration with 400 users on Oracle OpenOffice 3.3.
We extensively use OOOMacros to hide and unhidde sections during the life time
of the documents we produce and it is always possible that a user decide to
send a document at any time either directly from OpenOffice or with a Mail
client program (for ex: Thunderbird). With Oracle OpenOffice this work fine
(Hidden section stay hidden section in both situation) and the document
received is the same. Now we want to migrate to Apache OpenOffice 4.1 but we
hesitate because of this problem.

2. It seems that Microsoft Word delete the hidden sections too (I don't test
because we use open source software), so it's not a reason to make the same
(wrong?) choice or it's a chance to make a better products. What about the
compatibility with Oracle OpenOffice 3.3 and previous version.

3. The comparaison with PDF Export as nothing to do, a PDF is more like a print
of a document that represent only what is visible on the screen. I don't even
know if hidden parts can exist in a PDF document. So in that case it's normal
that hidden part don't becomes visible in a PDF.

4. I think the solution with a checkbox option (with defaut "Delete hidden
section: YES) is the good one for all with respect of the choice made by Apache
somewhere between version 3.3 and 3.4.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

--- Comment #3 from Denis Simonet <de...@adfinis-sygroup.ch> ---
Kay, there are no conditions - OpenOffice always removes invisible content
before attaching the document to a new eMail. See the attached document.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

--- Comment #6 from Denis Simonet <de...@adfinis-sygroup.ch> ---
Thank you for the detailed tests.

Maybe the reason for the lack of reports for this issue is the existance of an
easy workaround: Just don't use this feature and manually write an email with
attachment. While this might be a good solution for private users, especially
governments cannot live with the risk that an employees use this feature which
has such an unexpected side-effect. Official documents might be generated
faulty.

You might also want to consider the fact that a feature is useless if people
don't use it because they suspect it to jeopardize the integrity of the
document.

Our intention is to do exactly what we requested: Add a configuration option so
the user can decide whether OpenOffice shall remove invisible content before
attaching the document to the email.

If we implement this feature for our customer and provide a patch, are you
willing to include it in future releases of OpenOffice?

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

Denis Simonet <de...@adfinis-sygroup.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Issue Type|DEFECT                      |ENHANCEMENT

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

--- Comment #2 from Denis Simonet <de...@adfinis-sygroup.ch> ---
Created attachment 84309
  --> https://issues.apache.org/ooo/attachment.cgi?id=84309&action=edit
Example document

I forgot to add the example document. It contains three sections, one of them
being hidden (section 2). If you send this document by E-Mail, the attached
document in the e-Mail won't contain section 2 anymore.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

Kay <ks...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |kschenk@apache.org

--- Comment #1 from Kay <ks...@apache.org> ---
A question about this. Does this happen when there IS hidden content?

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125954] Sending document as Email removes invisible content - this should be a configuration option

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125954

dyo <ol...@bger.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier.duffey@bger.ch

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.