https://bugs.documentfoundation.org/show_bug.cgi?id=145972

--- Comment #8 from Miklos Vajna <vmik...@collabora.com> ---
Created attachment 194026
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194026&action=edit
Bugdoc without a KeepRatio setting.

Thanks for the bisect. I'm a bit confused how this has something to do with
KeepRatio setting that was lost previously on restart and now we save with into
the document settings.

Here is what I see with the attached bugdoc, which is the same as the original
one, but with the KeepRatio setting removed:

1. Load the bugdoc in safe mode
2. Set tools -> options -> writer -> unit to CM
3. Check that once you right click -> properties on the image, then the size is
48%x31% in the file, as expected.
4. Go to tools -> options again, set unit to Points
5. Check the image size, now you get buggy values like 5%x3%.

I think there is a bug here (reading the SwFramePage code, we set the values in
different ways: the configured unit, twips, percentage and this mix goes
wrong), but the above should show that this was a bug earlier, not with the
above commit. Either it was good originally, but then the bisect should be
re-done using my bugdoc to find the deeper problem or it was broken all the
time.

Could you please see if you still get a bisect result with the new bugdoc?
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to