Bug 132588 - The keep ratio button state isn't kept for frames
Summary: The keep ratio button state isn't kept for frames
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 161504 (view as bug list)
Depends on:
Blocks: Frame-Dialog
  Show dependency treegraph
 
Reported: 2020-05-01 14:41 UTC by Telesto
Modified: 2024-11-17 16:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Working document with all information about follow-up tests of comment1 (699.42 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-05-30 21:22 UTC, Francoise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-01 14:41:50 UTC
Description:
The keep ratio button isn't working for frames

Steps to Reproduce:
1. Open Writer
2. Insert -> Frame -> interactive frame
3. Format -> Format frame and object -> Type tab.
4. Check Keep ratio
5. Press OK
6. Format -> Format frame and object -> Type tab.

Actual Results:
Keep ratio can't be set 

Expected Results:
Disable the checkbox for frames or enable the functionality


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: f845f74afaf087a46c82ee4209e29caca0980b71
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

also in
3.3.0
Comment 1 Francoise 2020-05-30 21:11:51 UTC
Hello

I did some investigation regarding this bug. 
The Help section defines the “Keep ratio” as an option that maintains the height and width ratio when you change the width or the height setting.

Based on this definition, I did some follow-up tests to identify if the bug is more serious than it appears. Here is my conclusion, I hope that can help to focus future investigation:

1- Behavior depends on the Setting configuration and on the sequence of action.
   1.1- If active “Keep ratio” and select “Related to” option in one way then the setting is kept!
   1.2- But if only active “Keep ratio” with “Related to” option previously selected then the setting is not kept.
   1.1- But if only active “Keep ratio” without “Related to” option then the setting is not kept.

2- Bug impacts Frame object while Image looks not to be affected.

3- Behavior can be reproduced in different OS.

4- Behavior looks be introduced in previous versions


I have joined a working document with all information about the execution of follow-up tests.
Comment 2 Francoise 2020-05-30 21:22:36 UTC
Created attachment 161434 [details]
Working document with all information about follow-up tests of comment1
Comment 3 Dieter 2020-06-05 16:37:58 UTC
I confirm it with

Version: 7.0.0.0.beta1 (x64)
Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Could be duplicate of bug 84564
Comment 4 QA Administrators 2022-06-06 03:27:14 UTC Comment hidden (obsolete)
Comment 5 Dieter 2022-06-06 07:51:57 UTC
Still present in

Version: 7.3.4.1 (x64) / LibreOffice Community
Build ID: 13668373362b52f6e3ebcaaecb031bd59a3ac66b
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Szenario A:
Width relative to is checked => "Keep ratio" remains

Szenario B:
Height relative to is checked => "Keep ratio" remains

Szenario D:
Width and height relativ to is checked => "Keep ratio" gets lost

Szenario D:
Relative to is unchecked for width and height => "Keep ratio" gets lost
Comment 6 Stéphane Guillou (stragu) 2024-05-07 12:43:03 UTC
See related earlier bug 40469 with code pointers.
Comment 7 Buovjaga 2024-11-17 16:12:31 UTC
*** Bug 161504 has been marked as a duplicate of this bug. ***