Bug 147487 - Drawing a shape using the same coordinates gives different visual output depending on cell grid size
Summary: Drawing a shape using the same coordinates gives different visual output depe...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://forumooo.ru/index.php/topic,9...
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Regressions-ViewToDevice-Refactor
  Show dependency treegraph
 
Reported: 2022-02-17 08:53 UTC by Mike Kaganski
Modified: 2025-10-09 03:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A sample with macros to change cell size and draw a rectangle (11.13 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-17 08:53 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2022-02-17 08:53:01 UTC
Created attachment 178340 [details]
A sample with macros to change cell size and draw a rectangle

Open the attachment. Click on [ Draw ] button, see the new rectangle. Press [ 500x500 ] button (see the cells taking a different size), then press [ Draw ] button. See how the second rectangle does not match the older one.

Reproducible both on Windows and Ubuntu, including current master; does not depend on Skia.

This happens after https://git.libreoffice.org/core/+/d464d505fbf6e53a38afdd3661d320fac8c760d6

> author	Armin Le Grand <Armin.Le.Grand@cib.de>	Fri Oct 12 11:13:09 2018 +0200
> 
> Refactor calc non-linear ViewToDevice transform
Comment 1 Armin Le Grand (collabora) 2022-02-21 10:20:45 UTC
It's a refresh problem: If you change zoom slightly (e.g. to 90% and back) you see the two objects snapping to same place. I guess macro creation somehow may not yet use the tooling introduced by the mentioned change to solve the non-linear transformation space problem, so it may be necessary to add taking that in account there.
Due to solving a system-imminent problem in calc (that we derived unfortunately) and not being able to forsee all places that may need to be adapted I see this not as regression. Without that now available correction tooling it just looks the same because the same error is done on both objects.
Comment 2 QA Administrators 2025-10-09 03:11:41 UTC
Dear Mike Kaganski,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug