fix default hori/vert frame anchor during RTF import

Bug #1097735 reported by Björn Michaelsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
High
libreoffice (Ubuntu)
Fix Released
Undecided
Björn Michaelsen

Bug Description

on LibreOffice 3.5, see fdo#48442 for details

Revision history for this message
In , Mikhail Gavrilov (mikegav) wrote :

Created attachment 59652
problem file

Incorrect displaying attached rtf document

Revision history for this message
In , Mikhail Gavrilov (mikegav) wrote :

Created attachment 59653
Example right displaying in ms word

Revision history for this message
In , Wugs (wugs) wrote :

[REPRODUCIBLE] with LibreOffice 3.5.2.2 (Build-ID: 281b639-6baa1d3-ef66a77-d866f25-f36d45f) German running on MacOS X 10.6.8 German. The page layout is destroyed. I will attach a screenshot showing how the RTF file looks for me in Writer.

Revision history for this message
In , Wugs (wugs) wrote :

Created attachment 60221
Screenshot of the sample document opened with LibreOffice 3.5.2.2 on MacOS X

Revision history for this message
In , Wugs (wugs) wrote :

Lowering severity a bit because there is no data loss, no crash, ...

@Miklos Vajna:
I think this bug may be of interest for you ;-) Therefore I took the liberty to assign it to you, just as a proposal. Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug. Thank you very much!

Revision history for this message
In , Wugs (wugs) wrote :

Created attachment 60240
Screenshot of the sample document opened with master (LOdev)

Tested again with LOmaster 3.6.0alpha0+, Build ID: 55823d3 (installation file: master~2012-04-14_05.23.05_LibO-Dev_3.6.0alpha0_MacOS_x86_install_en-US.dmg) on MacOS X. There is some progress in displaying the page layout, but some elements are still at the wrong place (at the bottom of the page).

Revision history for this message
In , Wugs (wugs) wrote :

The page layout was imported correctly with LibreOffice 3.4.x, therefore I add the keyword 'regression'.

Revision history for this message
In , Wugs (wugs) wrote :

Bug 47933 - "rtf bug" is very very similar. But I propose to close bug 47933 in favour of this (the present) bug.

Revision history for this message
In , Z-jbf-faure (z-jbf-faure) wrote :

Should be interesting to know how the bugdoc has been created. Indeed the layout simulates a table as in bug 47495 whom bugdoc (attachment 58723) has been created by Oracle Report.

Best regards. JBF

Revision history for this message
In , Wugs (wugs) wrote :

Another similar bug: bug 49403 - "RTF: layout of RTF document broken, regression from LibO 3.4".

(It's hard to say if any of these bugs is a real duplicate; this would need good understanding of the RTF format, and is beyond my horizon. We will know if one of them is fixed: if bug B goes away after fixing bug A, it was a duplicate ...)

Revision history for this message
In , Robinson Tryon (colonelqubit) wrote :

Regression does appear in oldest version of bibisect-3.5.tar.lzma and must be older.

Revision history for this message
In , Wugs (wugs) wrote :

Created attachment 62414
Screenshot of the sample document opened with LibreOffice 3.5.4.2 on MacOS X

To document the current state of affairs, I attach another screenshot, this time taken with LibreOffice 3.5.4.2 (on MacOS X 10.6.8).

It shows that some fixes to other bugs have also improved the look of our sample file a bit, but the layout is still not correct.

Revision history for this message
In , Wugs (wugs) wrote :

Created attachment 69057
Screenshot of the sample document opened with LibreOffice 3.6.3.1 on MacOS X

To document the current state of affairs, I attach another screenshot, this time taken with LibreOffice 3.6.3.1 (on MacOS X 10.6.8).

It shows that some fixes to other bugs have also improved the look of our sample file again, but the layout is still not correct.

Revision history for this message
In , Vmiklos-g (vmiklos-g) wrote :

OK, I think I know what's going on here. The vertical position of some text frames is incorrect, as \pvmrg is the default in RTF, but not in Writer. I'll fix this in a bit.

Revision history for this message
In , Libreoffice-bugs (libreoffice-bugs) wrote :

Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=7b7bee4ed5722ce59ffd3394a0330d71d69d66b3

fdo#48442 fix default hori/vert frame anchor during RTF import

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Vmiklos-g (vmiklos-g) wrote :

Resolved in master, -3-6 review: https://gerrit.libreoffice.org/993

Revision history for this message
In , Libreoffice-bugs (libreoffice-bugs) wrote :

Miklos Vajna committed a patch related to this issue.
It has been pushed to "libreoffice-3-6":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=99324a9dc5b2963be31ebb7a78679c2f3ed3d7a9&g=libreoffice-3-6

fdo#48442 fix default hori/vert frame anchor during RTF import

It will be available in LibreOffice 3.6.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Wugs (wugs) wrote :

VERIFIED as FIXED
with LOdev 4.0.0.0.alpha0+ (Build ID: 32315e; pull time: 2012-11-13 00:32:26)
on Mac OS X 10.6.8 (Intel):
The sample file displays correctly (or at least much much better) now.

Thank you, Miklós, very much for this fix (and all the other ones ;-)!

Revision history for this message
In , Wugs (wugs) wrote :

Created attachment 70086
Screenshot: sample document looks fine now, LOdev 2012-11-13

Changed in libreoffice (Ubuntu):
status: New → In Progress
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
summary: - ix default hori/vert frame anchor during RTF import
+ fix default hori/vert frame anchor during RTF import
Changed in df-libreoffice:
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :
Changed in libreoffice (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

lp#1097735: released on Fedora 17 and upstream, patch origin SUSE, fix limited to the RTF file import filter

Changed in libreoffice (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.