The size of a gallery image will increase in size under certain (special) circumstances
Steps to Reproduce:
1. Open attached file
2. Click on the light bulb an rotate it 90 degrees right
3. Add a caption to the image (right click Insert Caption)
4. Deselect everything.
5. Click on the light bulb, an rotate it again 90 degrees left
Image will be paper filling
The size should remain the same.
User Profile Reset: No
CPU threads: 4; OS: Windows 6.19; UI render: GL;
TinderBox: Win-x86@42, Branch:master, Time: 2017-04-05_23:32:27
Locale: nl-NL (nl_NL); Calc: CL
Build ID: a4d4fbeb623013f6377b30711ceedb38ea4b49f8
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default;
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-2, Time: 2016-12-24_14:43:55
Locale: nl-NL (nl_NL); Calc: CL
but not in
Build ID: 490fc03b25318460cfc54456516ea2519c11d1aa
Locale: en-US (nl_NL)
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Created attachment 132381 [details]
Same as in other bug report. First disable relative width before doing any changes to the image itself.
I agree it's caused by "relative width" setting (I didn't notice). But I'm still seeing a bug or inconsistency.
The image switches from absolute to relative width when adding a Note caption. Its introduced somewhere after LibO220.127.116.11. But I'm not sure if it's on purpose
The advance is that makes it possible to resize frame and image at once. However if its intended, why not change the image height also to relative (inconsistent)
I also notice at least two disadvantages:
1. When replacing the image from the note caption frame by deleting the existing image add adding a new one (image size will be absolute)
2. The image size will increase when
a) rotating the image
b) copying the image from the caption frame to a new frame.
Yes, there is a easy workaround: uncheck 'relative width'. But why should I think of disabling relative width, if I didn't enable it in the first place?
I had not closed this report, because it has indeed to be discussed, how the current behavior can be improved.
..and off to UX land this goes.
Making the object's height relative sounds reasonable. But that might be not easy to calculate as today the frame is not adjusted in height but the image stretched when rotated back with everything set to relative.
Another solution is to protect the rotation when the object is framed and/or relative size is set. The user gets no feedback why the object changes unintentionally and will undo the operation or resize in most cases.
Setting to NEW. UX should look into the issue.
We talked about the issue in the design meeting.
The relative setting is needed to adjust the image to the surrounding frame. If you resize the frame you also resize the image.
Two ideas how to deal with the reported issue:
Option a) is to disable the relative settings before an operation like rotate is applied and to restore the previous state automatically; drawback is that we put a lot of coding effort into a error-prone function. Right now the auto enabling of the relative checkbox doesn't take the user-defined properties into account.
Option b) is to add transparency and let the user decide in the caption dialog whether the relative setting is enabled or not
Both options are not a good solution. So we agreed in the design team to resolve the ticket as WFM. Just keep in mind to disable the option manually before you apply an operation.
It might be good to add some words to the documentation, @Olivier.