Bug 156992 - The size of the OLE-frame and the embedded document does not match
Summary: The size of the OLE-frame and the embedded document does not match
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.5.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks:
 
Reported: 2023-08-29 20:04 UTC by Kadet
Modified: 2023-09-07 11:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo-file (249.40 KB, application/zip)
2023-08-29 20:07 UTC, Kadet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kadet 2023-08-29 20:04:31 UTC
Description:
The size of the document embedded in the OLE-frame does not correspond to the size of the frame. The OLE-frame is nested in the Base form.

Steps to Reproduce:
1.Extract from the archive db_with_ref_2.zip files and put out on the desktop.
2.Run the db_with_ref_2.odb file
3.Open form1

Actual Results:
The Calc document nested in the OLE-frame Object2 does not match the size of the parent OLE-frame. An example is shown in Pic2.jpg .

Expected Results:
A Calc document nested in an OLE-frame Object2 must be inscribed in an OLE-frame and be the same size with it.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Before LO version 7.5.3, this worked. The sizes of the documents corresponded to each other.
Comment 1 Kadet 2023-08-29 20:07:27 UTC
Created attachment 189232 [details]
Demo-file

Extract files to the desktop. 
Run the db_with_ref_2.odb file. 
Open form1.
Comment 2 Mike Kaganski 2023-09-07 09:30:00 UTC
Regression after commit be7ce49f33035fcd289a5ffc7a2307bd9a566780.

It may be tested using the macro from bug 156991 comment 2.

It was fixed by commit fc5aae69934000d81492668b3a40889bba5d3099 (should be backported?).
Comment 3 Xisco Faulí 2023-09-07 09:40:48 UTC
(In reply to Mike Kaganski from comment #2)
> Regression after commit be7ce49f33035fcd289a5ffc7a2307bd9a566780.
> 
> It may be tested using the macro from bug 156991 comment 2.
> 
> It was fixed by commit fc5aae69934000d81492668b3a40889bba5d3099 (should be
> backported?).

it was already backported. See bug 156270
Comment 4 Kadet 2023-09-07 11:50:01 UTC
Thanks!