Created attachment 71391 [details] Screenshot: lo 3.6.4.3 and 4.0.0.0.beta1 on Windows XP Mirrored bitmap images are displayed unmirrored in writer and in page preview. In the preview window of the print dialog they are displayed correctly, print output as well as pdf export are ok. svg-images are ok. The attached screenshot compares LibreOffice Version 3.6.4.3 (Build ID: 2ef5aff), left side, and LibreOffice Version 4.0.0.0.beta1 (Build ID: 87906242e87d3ddb2ba9827818f2d1416d80cc7), right side, on Windows XP. Top row are svg images (left side normal, right side flipped horizontally). The bottom row are identical png images. Version 4.1.0.0.alpha0+ (Build ID: c88508bc53e7df7ead7bc1b102da3d7dd81f768) on debian shows the same bug. Steps to reproduce: 1. load png image in writer. 2. flip image horizontally Current behavior: unflipped image is shown, flipped image is printed. Operating System: All Last worked in: 3.6.4.3 release
Bug seems to be introduced by commit I6feb744712956a92d6140d079dc3a85ee8511930 (Stepwise rebuild bitmap rendering from scratch to avoid rendering bugs). In order to reproduce you need a bitmap which is scaled down sufficiently.
It seems that commit I6feb744712956a92d6140d079dc3a85ee8511930 missed horizontal and vertical flipping for images scaled down by more than about 60%. See https://gerrit.libreoffice.org/1332
seems to happen mostly as described, except that i can't get a wrongly rotated image in the document view, it's only wrongly (not) rotated in File->Page Preview...
Werner Koerner committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3d969a60852d505cfa02a6b3410d4461718138ba fdo#58196 Viewing: Reenable mirroring for scaled-down images 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.
Werner Koerner committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5cb9fe63458558951f91ed1aaf6e90472dff9a28&g=libreoffice-4-0 fdo#58196 Viewing: Reenable mirroring for scaled-down images It will be available in LibreOffice 4.0. 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.
ok should be fixed now; thanks Werner for finding & fixing this!