https://bugs.documentfoundation.org/show_bug.cgi?id=148188

            Bug ID: 148188
           Summary: Distribute Selection not working correctly when
                    shadows are enabled
           Product: LibreOffice
           Version: 7.3.1.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rafael.palma.l...@gmail.com

Created attachment 179110
  --> https://bugs.documentfoundation.org/attachment.cgi?id=179110&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to