[Libreoffice-bugs] [Bug 139379] New: Angle in option "Point reduction" is off by factor 100

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jan 3 00:59:52 UTC 2021


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

            Bug ID: 139379
           Summary: Angle in option "Point reduction" is off by factor 100
           Product: LibreOffice
           Version: 7.2.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de
                CC: noelgrandin at gmail.com

Created attachment 168638
  --> https://bugs.documentfoundation.org/attachment.cgi?id=168638&action=edit
Testdocument to reproduce the error

In case you do not know, how interactive point reduction works:
1. Open attached document in an older version, LO 7.0 for example. Make sure no
snap is enabled.
2. Go to Tools > Options > Draw > Grid and enter 40° into the field "Point
reduction". OK.
3. Select the red polygon. Switch to point edit mode. That is an icon in the
toolbar. In case the toolbar "Edit points" has not opened automatically, open
it via menu View > Toolbars.
4. Enable "Eliminate Points". That is the right most icon in "Edit points"
toolbar.
5. Grab the point P and drag it toward the circle. If it crosses the circle,
the point is eliminated.
The circle is so constructed, that the sum of the angles in points S and T of
the triangle SAT is 40° and same for the triangle SBT.
A point P is eliminated, if the sum of the angles in its neighbor points S and
T in the triangle STP is smaller than the angle set in "Point reduction".

Now open the file in a LibreOffice Dev daily, for example from 31.Dez.
Enter angle 0,4° in "Point reduction" field.
Now do steps 3 to 5. Notice that elimination happens at the circle, so as if
the point reduction angle would be 40°.

Try to enter 40° in field "Point reduction". It will jump to 0°.

Now open the file in a LibreOffice Dev from Today (3.Jan.) and enter 40° in
field "Point reduction". LibreOffice crashes.

The problem was likely introduced with the Degree100 work. Noel, please have a
look.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210103/57ed8314/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list