Bug 108329 - Convert To Contour distorts curves
Summary: Convert To Contour distorts curves
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2017-06-04 02:31 UTC by ulatekh
Modified: 2023-10-22 18:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Reproduction case (8.99 KB, application/vnd.oasis.opendocument.graphics)
2017-06-04 02:31 UTC, ulatekh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulatekh 2017-06-04 02:31:33 UTC
Created attachment 133835 [details]
Reproduction case

I wanted to scale my drawing, and scale the line-widths too, and https://forum.openoffice.org/en/forum/viewtopic.php?f=11&t=5368 told me I could do that if I first converted my drawing to a contour.  When I did so, several of the curves were distorted.

Enclosed is a snippet from a much larger drawing, containing one of the curves that reproduces this behavior.

Note that Modify -> Combine also produces distorted results, but that might be "as intended", I'm not sure.

This is with LibreOffice Draw 5.1.6.2-8 running under Fedora Core 24.
Comment 1 Xisco Faulí 2017-06-04 10:22:41 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Regina Henschel 2017-06-04 13:25:03 UTC
I confirm the bug for Version: 5.4.0.0.alpha1+
Build ID: 8c0be54a7da6262dffe04357121814dd22b5d7fe
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-15_01:35:45
Locale: de-DE (de_DE); Calc: group

This happens in the special situation, that the control point has identical position as its anchor point, here the right ones.

There are some workarounds:
(1) Drag the control point a little bit away from the anchor point before converting to contour.
(2) Select the drawing and export it to svg. Then use the svg-image instead of the drawing. Scale the SVG-image then. In SVG a line is transformed including the width.
(3) Adapt the line widths after you have scaled the drawing. For that way, I would write a macro, that does scaling and adapting the line width in one step. The advantage of using a macro is, that the drawing has still the same structure of - in this case - two lines and four Bézier-curves.
Comment 3 Regina Henschel 2017-06-04 14:09:16 UTC
Behavior was already this wrong way in OOo3.2.1
Comment 4 ulatekh 2017-07-14 02:31:25 UTC
Rather than learn Yet Another Bloody Scripting Language, I just unzipped the .odg file and edited the content.xml file directly, using find/replace to change all the values associated with "svg:stroke-width" entries.

Still...could this bug possibly get fixed? Especially given how easy it is to reproduce?
Comment 5 QA Administrators 2018-07-15 02:42:54 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-07-15 04:03:29 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2022-07-16 03:53:59 UTC
Dear ulatekh,

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