Bug 148188 - Distribute Selection not working correctly when shadows are enabled
Summary: Distribute Selection not working correctly when shadows are enabled
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2022-03-25 18:07 UTC by Rafael Lima
Modified: 2025-06-03 03:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Video showing the bug (185.03 KB, video/mp4)
2022-03-25 18:07 UTC, Rafael Lima
Details
Sample ODP file (11.57 KB, application/vnd.oasis.opendocument.presentation)
2022-03-25 18:07 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-03-25 18:07:09 UTC
Created attachment 179110 [details]
Video showing the bug

In Impress/Draw, if you select 3 or more objects, right-click them and go to Distribute Selection > Horizontally Spacing, the objects should be re-positioned so that the horizontal spacing between them is the same. This works nicely when objects do not have shadows. However, when shadows are enabled, the horizontal spacing is calculated incorrectly.

See the attached video where I use 2 sets with three rectangles each. The first set does not have shadows and horizontal spacing works fine. Enabling shadows in the second set of rectangles breaks spacing calculations.

Steps to reproduce:
1) Open the attached sample ODP file
2) Select the 3 rectangles without shadows
3) Go to Distribute Selection > Horizontally Spacing
4) Notice the three rectangles are spaced evenly (which is expected)
5) Now select the three rectangles with shadows
6) Go to Distribute Selection > Horizontally Spacing
7) Notice that the spacing between rectangles is not the same

System info:
Version: 7.3.1.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.1~rc3-0ubuntu0.21.10.1~lo2
Calc: threaded
Comment 1 Rafael Lima 2022-03-25 18:07:52 UTC
Created attachment 179111 [details]
Sample ODP file

This is the sample ODP file I used in the video.
Comment 2 Buovjaga 2023-01-03 12:03:40 UTC
Repro, already in 7.1 when shadows were implemented.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 88ebc324a51f16df0248d6a0d53d2169b1995dda
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 3 January 2023
Comment 3 QA Administrators 2025-06-03 03:10:53 UTC
Dear Rafael Lima,

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