Bug 153775 - Writer: RTF with body text & text box on right opens as 2 pages
Summary: Writer: RTF with body text & text box on right opens as 2 pages
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Frame-Dialog
  Show dependency treegraph
 
Reported: 2023-02-21 16:43 UTC by Michael Salem
Modified: 2023-04-02 16:29 UTC (History)
2 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.