Description: Reducing the width of the caption frame, increases the height of the caption frame Steps to Reproduce: 1. Open the attached file 2. Select the image 3. Insert -> Caption 4. Add a longer caption: 'Very long image caption' 5. Think, let's make the caption to be distributed more nicely, by shrink the frame. Height of the frame increases [Variant] 6. CTRL+Z (to undo Step 5) 7. Think, let's prevent multirow caption line by increasing the frame size. This by dragging the right frame border to the right (Image increases too, well that's not what I intended) 6. Decrease the frame back manually (so not using CTRL+Z). Frame becomes skewed (again) Actual Results: Frame becomes skewed Expected Results: Proper frame dimensions Reproducible: Always User Profile Reset: No Additional Info: Found in Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 17e8dbead42e2d4b55815b1b7b2846b03d62a15d CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded and in OpenOffice 2.2.1
Created attachment 201138 [details] Sample
@Eyal Bit of a side-quest. The reported problem here can be solved as such, I think. However you could see this from in different angle. Which would lead to (partly) different solution. Current situation in case of ODT A) Shrink the caption frame decreases the image size (proportionally) B) Increasing the caption frame increases the image size (proportionally) Current situation in case of DOCX (generated from ODT) A) Shrink the caption frame, shrinks the frame, not the image B) Increasing the caption frame, increases the frame, unaffecting the image Shrink the caption frame shrinking the image feels 'natural'. Increasing the image frame, affecting the image might look 'logical' initially (symmetric behaviour). However it might be 'problematic'. Some might increase the caption frame, to accommodate the title to single line (can't be done frame caption dialog). At least I would tend to prevent multi-line captions. Although this would 'require' to center the image within the frame (not the case B of the DOCX example) Any thoughts on the matter? I admit, I didn't check competitors.. Off-topic: in relation to bug 166835: this also one of the examples a DOCX save looks good on screen, but the interactive part being broken; at least in Writer, didn't check Word.
> 5. Think, let's make the caption to be distributed more nicely, by shrink > the frame. Height of the frame increases Is the step here "shrink the frame horizontally"? Please be more explicit and less "philosophical" with reproduction steps. > 6. Decrease the frame back manually (so not using CTRL+Z). How do I "decrease" a frame? > Frame becomes skewed (again) > > Actual Results: > Frame becomes skewed What do you mean by frame "skew"?
Created attachment 201145 [details] Screencast The description in step 5 is faulty Step 5: Drag the right frame border to the left; inwards; Image shrinks
Shouldn't the summary be "Reducing the width of the caption frame should decrease its height"? Currently the height stays the same. But fulfilling your request would drop the possibility to resize like this. The way to do what you a requesting here is to hold down Shift and resize by dragging the bottom right handle.