Created attachment 64978 [details] Story book with many images Problem description: Loading any .rtf document containing images results in the images displaying as only a few mm wide. It is possible to right click image, Picture/Original Size etc. However, the original documents do load and display images correctly in MS Word and other .rtf readers. Steps to reproduce: 1. Load Document in various operating systems and readers on clean installs and find images. 2. Checked that Display Images is selected in Options. 3. Images too small to see - only 3 or 4mm wide at most 4. Right click image select Picture, then Original Sixe button, and image is restored. 5. Exit without save, check image dimensions with plain text reader, note that image size properties are indeed correct. Current behaviour: Images in .rtf documents load and ignore preset image dimensions, displaying very small Expected behavior: Image dimensions should set size of image in document Platform (if different from the browser): Ubuntu 12.04 and Win XP Browser: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Reproducible with LO 3.5.5.3, LO 3.6.0.4 and master (Version 3.7.0.0.alpha0+ (Build ID: e1544be)) under Ubuntu 11.10 x86_64. Miklos: please could you have a look ? Best regards. JBF
I can confirm that this happens in LO 3.5.5 and 3.6.2 under Windows XP. The images show correctly in LO 3.3.4 and 3.4.5 so it is a regression since the 3.5.x branch.
I can also confirm that the regression is present in master. The same problem occurs in Version 3.7.0.0.alpha0+ (Build ID: 370m0(Build:0)) downloaded from /daily/W2008R2@16-minimal_build/master/2012-10-28_23.54.54
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ebc61e11cdb02f5cc33aeabead3d191eaf0d23d3 fdo#52989 ignore provided size of JPEG files 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.
Fixed in master, -3-6 review: https://gerrit.libreoffice.org/991
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=2bccaecfb4f9b31964bc8789c3bd5d7080bfc4d9&g=libreoffice-3-6 fdo#52989 ignore provided size of JPEG files 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.
Verified in Version 3.6.4.0+ (Build ID: 7ec1ae3) Thank you very much. Best regards. JBF
Migrating Whiteboard tags to Keywords: (filter:rtf) Replace rtf_filter -> filter:rtf. [NinjaEdit]