Bug 146712 - VIEWING: Distorted geometry of objects (basic shapes, images, charts, etc.)
Summary: VIEWING: Distorted geometry of objects (basic shapes, images, charts, etc.)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/distort...
Whiteboard:
Keywords:
Depends on:
Blocks: Chart Calc-Images Shapes
  Show dependency treegraph
 
Reported: 2022-01-12 08:35 UTC by Sławomir
Modified: 2023-07-21 16:34 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
LO 7.2.5.2 Squeezed Square (64.12 KB, image/png)
2022-01-12 08:40 UTC, Sławomir
Details
LO-7.2.5.2 Squeezed Square (whole window) (118.62 KB, image/png)
2022-01-12 08:41 UTC, Sławomir
Details
LO 7.2.5.2 (circle is an ellipse) (27.42 KB, image/png)
2022-01-12 08:42 UTC, Sławomir
Details
LO 6.4.7.2 Screenshot 0 (77.48 KB, image/png)
2022-01-12 08:43 UTC, Sławomir
Details
LO 6.4.7.2 Screenshot 1 (75.81 KB, image/png)
2022-01-12 08:44 UTC, Sławomir
Details
Test spreadsheet containg square and a graph with a circle (30.21 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-01-12 08:45 UTC, Sławomir
Details
Exported spreadsheet with proper aspect ratios (49.47 KB, application/pdf)
2022-01-12 08:45 UTC, Sławomir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sławomir 2022-01-12 08:35:42 UTC
Description:
Objects with aspect ratio 1:1 (squares and circles) are distorted when spreadsheet is edited. For example, square ( Insert → Shape → Basic Shapes → Square ) with a side length of 10cm can occupy space of 1007x1042 pixels (instead of 1042x1042). This issue also affects images, charts, QR codes, and probably all other graphical elements.

Steps to Reproduce:
1. Insert a square ( Insert → Shape → Basic Shapes → Square )
2. Take a screenshot
3. Use a graphics editor to determine how many pixels of height and width square in screenshot has

Actual Results:
Height and width of square differ.

Expected Results:
Square should have sides with equal lengths.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Writer and Draw do not exhibit this issue. When graphical elements are exported into PDF format, their aspect ratio is correct.

Resetting user profile or disabling hardware acceleration of graphics output does not help.

I replicated this problem in
Linux Mint 20.3: LO 7.1.7.x and LO 7.2.5.2
Linux Mint 20.2 (liveDVD): LO 6.4.7.2
Windows 10 21H2: LO 7.2.5.2
Comment 1 Sławomir 2022-01-12 08:40:10 UTC
Created attachment 177475 [details]
LO 7.2.5.2 Squeezed Square
Comment 2 Sławomir 2022-01-12 08:41:22 UTC
Created attachment 177476 [details]
LO-7.2.5.2 Squeezed Square (whole window)
Comment 3 Sławomir 2022-01-12 08:42:27 UTC
Created attachment 177477 [details]
LO 7.2.5.2 (circle is an ellipse)
Comment 4 Sławomir 2022-01-12 08:43:20 UTC
Created attachment 177478 [details]
LO 6.4.7.2 Screenshot 0
Comment 5 Sławomir 2022-01-12 08:44:07 UTC
Created attachment 177479 [details]
LO 6.4.7.2 Screenshot 1
Comment 6 Sławomir 2022-01-12 08:45:04 UTC
Created attachment 177480 [details]
Test spreadsheet containg square and a graph with a circle
Comment 7 Sławomir 2022-01-12 08:45:57 UTC
Created attachment 177481 [details]
Exported spreadsheet with proper aspect ratios
Comment 8 LeroyG 2022-01-12 13:47:33 UTC
See: https://ask.libreoffice.org/t/distorted-geometry-of-objects-in-calc/72622

Reproducible at:
Calc 7.1.8.1, Windows 10, with a 16:10 ratio screen at 1440*900
Calc 7.1.8.1, Linux 4.12, with a 4:3 CRT monitor at 1152*864
Calc 7.2.2.2 on Linux Mint with FHD monitor
Comment 9 Telesto 2022-01-13 12:28:18 UTC
@Regina
You might be interested.. 

Also in
4.4.7.2

and in
4.0.0.3
Comment 10 Regina Henschel 2022-01-13 13:22:53 UTC
(In reply to Telesto from comment #9)
> @Regina
> You might be interested..
 
I cannot help here. The shape geometry is correct as can be seen in the API values in the "Development tools". It is a rendering problem and such is outside my experience.
Comment 11 Telesto 2022-01-14 19:56:25 UTC
@Meeks

(In reply to Regina Henschel from comment #10)
> (In reply to Telesto from comment #9)
> > @Regina
> > You might be interested..
>  
> I cannot help here. The shape geometry is correct as can be seen in the API
> values in the "Development tools". It is a rendering problem and such is
> outside my experience.

Only a poke, based on the fact that it does concern Calc and it might be important for good/reliability impressions. Charts/Images being often present in Calc. OTOH: problem being there for long time.. and you can spend budget only once.. 

Another question is who might know.. This is an rendering problem, so first name on my list would be Armin..