Description: Caption boxes should take into account if images have been rotated. Steps to Reproduce: 1. Insert an image. 2. Rotate the image by 90 degree. 3. Add a caption. Actual Results: The caption has the dimensions for the unrotated image. Expected Results: The caption box should take the rotation into account. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.2.1.2 (X86_64) / LibreOffice Community Build ID: 520(Build:2) CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: qt5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Debian package version: 4:25.2.1-3~bpo12+1 Calc: threaded
Hello, Thank you for reporting the bug. Can you see if bug 132579 is similar to your problem so that I can mark your report as a duplicate of it? (Later bugs are generally marked as duplicates of earlier bugs).
Hi, thanks for the fast reply. I'm not 100% sure, if this is the same bug. It seems that the file in the mentioned bug is not rotated. But maybe the underlying problem is the same - I could only guess...
I can confirm with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2dd493c86e532eea636b1ca8aed35fb1214eb750 CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Works in Version: 5.2.0.0.alpha0+
Created attachment 200055 [details] bisection-image I don't understand which dimension the reporter is referring to. Is it the image height not fitting within the frame as in version 6.4.5, or the width as in version 6.0?
Ah, I knew I couldn't be the first one to experience this. It seems to be exactly the same behavior as 6.4.5.+ in your file. Is there a corresponding issue I can refer to and close this one? Thanks for pointing that out.
No, there are no similar bug reports. commit 90cc23eabdbc9248192a584c3dc41444cdab3bfd author Caolán McNamara <caolanm@redhat.com> Wed May 06 11:06:45 2020 +0100 Resolves: tdf#123801 captioning issues revert attempt to by default create a msword roundtrip friendly caption. Resolves: tdf#116474 bring hidden text property under undo control rework setting hidden property on line break in msword the hard-break between image and caption has a width coverity#1372378 Dereference null return value Related: tdf#93676 default to as-char inside captions