Bug 153775 - FILEOPEN RTF Table should appear on second page in a certain document
Summary: FILEOPEN RTF Table should appear on second page in a certain document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks: Frame-Dialog
  Show dependency treegraph
 
Reported: 2023-02-21 16:43 UTC by Michael Salem
Modified: 2024-09-25 18:14 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
RTF file & PDFs from LO & MS Word (RAR) (208.42 KB, application/vnd.rar)
2023-02-21 16:48 UTC, Michael Salem
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Salem 2023-02-21 16:43:56 UTC
Description:
RTF with body text & box on right opens as 2 pages
==================================================

I received a letter in rtf format, probably generated with Microsft Word, that renders very badly in LibreOffice. I have mutilated it to retain its form (text, boxes, graphic logos, links, empty tables left in by mistake) while removing confidential content.

The file in MS Word renders as a single page with a long box on the right with a list of people's names, the text of a letter on the left, and an empty table below on a separate page (in error).

In LO Writer it renders as a page containing the box on the right, then the text on a following page, followed by the table. Probably the error is simply placing the text and the box on separate pages, but I include all the structure in case it is relevant.

7.5.0.3 (x86_64), en-gb, build c21113d003cd3efa8c53188764377a8272d9d6de
Windows 10/64 build 19045 (latest)
8 CPU threads

Files attached:
Lorem.rtf  The rtf file, openable in MS Word or LO writer
Lorem_rtf_AsSavedFromLO.pdf  Lorem.rtf exported as PDF by LO
Lorem_rtf_AsSavedFromMSWord.pdf    Lorem.rtf exported as PDF by MS Word

Couldn't find exact report; maybe related to:
Bug 106354 - FILEOPEN: RTF: the file is displaying more than one page
Bug 139110 - FILEOPEN RTF: Text frame in autoshape textbox is mispositioned

NOTE: my login email address is incorrect and dead; I haven't been able to change it. I WILL NOT RECEIVE EMAIL

Steps to Reproduce:
1.Open attached file Lorem.rtf in LO Writer
2.Compare with attached file Lorem_rtf_AsSavedFromMSWord.pdf (or open in MS Word)
3.

Actual Results:
Page with text box (I think) on right; followed by separate page with text which should be on the same page.

Expected Results:
Should have shown text on the same page; Lorem_rtf_AsSavedFromMSWord.pdf, exported from MS Word shows correct document while Lorem_rtf_AsSavedFromLO.pdf shows what my LO Writer exported.


Reproducible: Always


User Profile Reset: No

Additional Info:
7.5.0.3 (x86_64), en-gb, build c21113d003cd3efa8c53188764377a8272d9d6de
Windows 10/64 build 19045 (latest)
8 CPU threads
UI render: Skia/Raster; VCL: win
en-GB (en-GB); UI: en-GB
Calc: CL threaded
Not tested with older LO versions
I haven't reset user profile
Comment 1 Michael Salem 2023-02-21 16:48:48 UTC
Created attachment 185511 [details]
RTF file & PDFs from LO & MS Word (RAR)

My login email address is no longer valid - will not receive mail

Attached: a RAR archive with the mal-rendered RTF file, PDF from MS Word of what it should look like, PDF from my LO Writer of what it does look like.
Comment 2 Michael Salem 2023-02-21 16:56:48 UTC
Have now been able to change email address, should receive email
Comment 3 m_a_riosv 2023-02-21 21:26:36 UTC
Reproducible, looks like the wrap of the box, is imported as 'none'
But for me with word there are two pages, the second one with the table at the bottom.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 16a35542aa07ed69c6c699d1c17f076d87708958
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Jumbo
Comment 4 Michael Salem 2023-02-22 12:15:26 UTC
Response: "But for me with word there are two pages, the second one with the table at the bottom."

Sorry, I was focussing on the intended single-page letter in my report. Word indeed shows an additional second page, presumably with empty table. The PDF file I uploaded accurately shows the letter as displayed in MS Word.
Comment 5 Buovjaga 2024-09-25 18:14:58 UTC
Good news: the originally described issue is gone. Actually, the issue was not yet in older versions. However, the table has appeared on the incorrect page since version 3.6. Let's change the topic.

Arch Linux 64-bit
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 12e08b3cba0e75f1bd3a42f30e4830d723b24ece
CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 25 September 2024