Bug 94075 - If you select an image direct after caption was selected, "keep aspect" on mouse-resizing is broken
Summary: If you select an image direct after caption was selected, "keep aspect" on mo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.5.2 release
Hardware: Other Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2015-09-09 20:56 UTC by Stefan
Modified: 2025-08-28 03:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan 2015-09-09 20:56:53 UTC
1.) Open new writer document
2.) Insert an image
3.) Resize with mouse: keeping aspect 
3.a.) Rightclick the image and open image properties: as you can see: "keep aspect" is "off" (and yes, i know, this switch is just for this dialog, not for the image itself)
4.) Rightclick the image and add a caption (now the caption is selected)
5.) Click (select) the image and resize with mouse: dont keeping aspect anymore!
5.a.) Rightclick the image and open image properties: as you can see: "keep aspect" is now "on" (and again, i know, this switch is just for this dialog, not for the image itself, but strange anymore)
6.) Click at an empty space at the document
7.) Click (select) the image again and resize with mouse: keeping aspect again ...

Conclusion 1: If you select the image direct after caption was selected, "keep aspect" on mouse-resizing is broken.
Conclusion 2: "Keep aspect"-Switch in the UI-Dialo is side-affected by adding a caption

Maybe its related to Bug 94074
Comment 1 Stefan 2015-09-15 05:56:17 UTC
Confirmed with 5.0.1.2
Comment 2 Buovjaga 2015-09-19 15:58:09 UTC
(In reply to Stefan from comment #0)
> 3.a.) Rightclick the image and open image properties: as you can see: "keep
> aspect" is "off" (and yes, i know, this switch is just for this dialog, not
> for the image itself)

In which tab is this setting? I was unable to locate it.

For step 3), I understood I need to first enable the Keep ratio checkbox in the Sidebar - Properties - Position & size section. Is this what you meant?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 3 Stefan 2015-09-21 09:13:59 UTC
Hi Beluga,

3a) rightclick-> "image" -> tab "type" -> "keep ratio"

BUT keep in mind: this checkbox as the "Keep ratio checkbox in the Sidebar - Properties - Position & size section" drives just the numeric inputs in the dialog-UI (it's missundestandable and a bad UI-design).

To confirm the bug, you can ignore (3.a.) and (5.a.)
Comment 4 Buovjaga 2015-09-21 10:28:12 UTC
Ok, I thought step 3 meant I HAD to tick the box myself to keep ratio.

So this is just about observing what happens when mouse-resizing and looking at the keep ratio checkbox.

I confirm that it first resizes while keeping aspect ratio even though the checkbox is not ticked.
Then it resizes without ratio and the checkbox is suddenly ticked.
Then it again resizes with ratio.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)
Comment 5 Stefan 2015-09-21 10:47:16 UTC
Simple mouse-resizing images ALWAYS have to keep aspect!
Again: The checkbox is related only to the numeric fields @ the GUI-dialog.

So the bug is:

If you select & resize an image AFTER you have selected its caption, resizing don't keep aspect anymore. (Fail!)

If you want to keep aspect on resize, you have to select some text or something before (but not its caption).

Shurely this bug is related to Bug 94074.

Imagehandling in LO is absolutly horrible. I've found 2 more image-related bugs i will report later :(
Comment 6 Buovjaga 2015-09-21 10:52:20 UTC
Adding needsDevEval for potential easyHack
Comment 7 Robinson Tryon (qubit) 2015-12-13 11:21:03 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2017-10-23 13:58:13 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2023-08-27 03:05:42 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2025-08-27 03:14:39 UTC Comment hidden (obsolete)
Comment 11 GWDx 2025-08-28 03:43:19 UTC
This bug still exists.

A fix is under review in Gerrit: https://gerrit.libreoffice.org/c/core/+/188824