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 2015/03/29 17:12:57 UTC

[Issue 126216] New: Problem with footnotes and rtf format.

https://bz.apache.org/ooo/show_bug.cgi?id=126216

          Issue ID: 126216
        Issue Type: DEFECT
           Summary: Problem with footnotes and rtf format.
           Product: Writer
           Version: 4.1.1
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: treshall@yahoo.com

Created attachment 84620
  --> https://bz.apache.org/ooo/attachment.cgi?id=84620&action=edit
zip file containing example files

I created a document with footnotes and saved it in .odt and .rtf format.  When
I loaded the files back in, the .odt looked normal, but the .rtf changed the
character of the first footnote indicator in the text and changed the contents
of the footnote.  attached are the two files, one in each format.  the .odt
file is the way it is supposed to look.

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

[Issue 126216] Problem with footnotes and rtf format.

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

--- Comment #7 from stangsdt@msn.com ---
Created attachment 84733
  --> https://bz.apache.org/ooo/attachment.cgi?id=84733&action=edit
rtf with 2 footnotes (on page 2)

Here I saved the .odt as .rtf after adding the 2nd page and 2 footnotes of
differing types. 
Again, we see that the .rtf aligns the footnotes; where as .odt leaves them as
originally typed.

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

[Issue 126216] Problem with footnotes and rtf format.

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

--- Comment #4 from stangsdt@msn.com ---
Created attachment 84730
  --> https://bz.apache.org/ooo/attachment.cgi?id=84730&action=edit
odf with footnote

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

[Issue 126216] Problem with footnotes and rtf format.

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

--- Comment #6 from stangsdt@msn.com ---
Created attachment 84732
  --> https://bz.apache.org/ooo/attachment.cgi?id=84732&action=edit
rtf with footnote

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

[Issue 126216] Problem with footnotes and rtf format.

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

--- Comment #2 from Srilu <sv...@yahoo.com> ---
I try to replicate the issue and failed to replicate. I have Microsoft Office
2010. When you created the defect, have you used different versions of the
Microsoft Office? I am not sure what version of Microsoft Office you have used 
to create this issue.

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

[Issue 126216] Problem with footnotes and rtf format.

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

Anca Lostun <an...@altom.ro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anca.lostun@altom.ro

--- Comment #8 from Anca Lostun <an...@altom.ro> ---
I was able to replicate the problem on:
- Apache Open Office 4.2.0 (AOO420m1(Build:9800) - Rev. 1829211)
- Windows 10 Home

When reopening a file saved as .rtf in AOO, an extra tab character seems to be
inserted at the beginning of a footnote or endnote, making the text shift to
the right. Other file formats don't seem to be affected.

Steps to reproduce
1. Open AOO and create a new Text Document
2. Add a few lines of text (optional)
3. Go to Insert > Footnote/Endnote and add a Footnote
4. Save as .odt and close the file
5. Reopen the file
Note that the footnote text remains as it was initially inserted.

6. Repeat steps 1 to 3
7. Save as .rtf and close the file
8. Reopen the .rtf file

*Actual result* 
The text is shifted to the right. It looks like a tab character has been
inserted at the beginning of the line.

*Expected result* 
The text is displayed the same as when it was saved, no added characters or
different formatting/alignment.
https://www.screencast.com/t/QTmsaUjShlB


Additional tests
- in AOO, save file with footnotes as .doc (Word95, Word 97) and .html ->
problem not reproduced when reopening file in AOO
- in AOO, save file with endnotes as .rtf -> endnote text is shifted to the
right when reopening file
(problem not reproduced for files with endnotes saved as .odt, .doc, .html)
- in AOO, save .rtf file having footnotes with several new lines of text -> tab
is inserted before each new line
- in MS Word 2007, save file with footnotes as .doc, .docx, .rtf, .htm 
    -> no extra characters added when reopening files in Word
    -> no extra characters added when reopening files in AOO


In my opinion, this behavior of AOO is a bug considering the following
perspectives:

a) Consistency within the product. For other file formats supported by AOO, the
footnote text is displayed in the same way as it was when initially saved.

b) User expectations. Formatting and alignment are important features of any
word processor and users spend significant time in making the text look good.
Normal expectations are that the file looks the same as you last saved it.
Also, since the problem occurs only after reopening the file, the users might
not even be aware that something has changed and it doesn't look as they
intended in the first time.

Doing a quick search on https://forum.openoffice.org/en/forum/search.php for
formatting issues on footnotes in AOO Writer there are about 200 results
returned so this looks like an important matter to the users.

c) Text readability. If we take as example a normal Wikipedia page, we can see
that footnotes can be quite long, they extend over several lines of text. It
would be beneficial for the look and feel of the document to align footnotes in
such a way that they take advantage of all the space available.

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

[Issue 126216] Problem with footnotes and rtf format.

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

Srilu <sv...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |svabug@yahoo.com

--- Comment #1 from Srilu <sv...@yahoo.com> ---
Created attachment 84686
  --> https://bz.apache.org/ooo/attachment.cgi?id=84686&action=edit
Warning while saving as RTF format

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

[Issue 126216] Problem with footnotes and rtf format.

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

MarCH <ma...@fundacion-jala.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marco.chavez@fundacion-jala
                   |                            |.org

--- Comment #10 from MarCH <ma...@fundacion-jala.org> ---
First impressions: 

The bug report doesn't have any step just a description that summarizes the bug
and files attached to confirm the bug.

Attached files are useful. Also, the comment with the steps by another user
that replicated the bug was very assertive.
Too short (lack of steps) but understandable.

Replicate the Report

The steps in the comments allowed me to replicate the bug really fast.

Even though I've never worked with .rtf formats I was able to understand how to
make one.
Follow­Up Tests 

    Try the same step with other formats instead of rtf.
    Try the steps with a Endnote instead of a Footnote.
    Perform in other common versions of OpenOffice.
    Perform adding a big paragraph to the Footnote.
    Perform adding an image to the Footnote.

Overall evaluation of the Report 

Description was understandable and right to the point. Attached files were
useful.

Lacking of steps, expected results and actual results takes out credibility and
seriousness from the report.

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

[Issue 126216] Problem with footnotes and rtf format.

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

--- Comment #5 from stangsdt@msn.com ---
Created attachment 84731
  --> https://bz.apache.org/ooo/attachment.cgi?id=84731&action=edit
ott with footnote

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

[Issue 126216] Problem with footnotes and rtf format.

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

stangsdt@msn.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stangsdt@msn.com

--- Comment #3 from stangsdt@msn.com ---
I was able to replicate treshall’s failure.  I believe this is not a failure;
however, but a design feature that Word offers.  
What I noticed in reviewing and replicating the bug was that in Word the
footnote is justified/aligned after the chose footnote type (automatic or
character).  Regardless of the type chosen, either individually or both in the
same footnote, the indent and alignment was consistent in Word.  

To recreate “treshall”s bug, I did the following:
I opened Writer 4.1.1 on my Windows 7 machine.  
I also opened google and chose some text from any page (I chose airplanes, and
Wikipedia).
I copied the text from the page into my bank Writer document, to have some
context. 
I then went to the tool bar, and chose Insert,  then Footnote/endnote. 
When the pop-up displayed it asked if wanted the Footnote to be Automatic or
Character.  For my first attempt, I chose Automatic. 
The footnote was then applied, and a “1” was shown.  I typed  information for
my first line.  I hit return, and added a 2nd line to my footnote, and then
once again and added a 3rd line.  I preceded line 2 and 3 with special
characters. 
I then saved my document in .odt  

I then opened my document again (mine was saved on my desktop). 
I then chose to save the same document (with no modifications) as a .rtf also
to my desktop. I am using Word 2010.

I then opened both the .odt and the .rft to compare. 
I noted that the .odt was exactly as I had typed the footnote.  Whereas the
.rft had left justified the 3 lines of footer to be in alignment, and the “1”
was still on the first line, but several spaces separated it from the first
line of text. 

I then chose to save the .odt in other file types (.swx, .txt,.doc, .ott)
I opened each in turn, and found the Word documents (.swx and .doc) had the
same alignment as .rtf
The .ott document looked the same as the .odt.
The .txt document did not save the footnote.

Next, I added a 2nd page of text to the .odt document.
I also added a footnote on the 2nd page of the document, with both the
Automatic and Character footnote types. 
Again, I saved this document as an .rtf.  
Again upon opening, I found the 2nd page footnote had done the same as the
first page, for both footnote types.  Both were aligned with space between the
footnote indicator and the text of the footnote in the .rtf document.  The .odt
document looked as I had initially typed it.  

I looked at the Help in Word for Footnotes. While there is information about
the Footnote, and how to create/delete/modify one, there is no information or
screenshot that shows how one might display.  So the alignment adjustment that
Word offers, I see nothing to support it as the intended behavior of Word.  I
do believe; however, that this is a feature and not a true bug.  However, I do
understand “treshall”s issue in that if you wanted your Footnote to begin
directly after the Footnote type, you will not obtain this same behavior in
Word.

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

[Issue 126216] Problem with footnotes and rtf format.

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

--- Comment #9 from Anca Lostun <an...@altom.ro> ---
Created attachment 86408
  --> https://bz.apache.org/ooo/attachment.cgi?id=86408&action=edit
Footnotes shifted to the right after reopening the .rtf file

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