Bug 159491 - In LO Draw, 'Standard Connector' route preview is unreliable
Summary: In LO Draw, 'Standard Connector' route preview is unreliable
Status: RESOLVED DUPLICATE of bug 130937
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.5.9.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-01 05:08 UTC by john
Modified: 2024-02-01 06:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
steps 1-4 from description. load the file then move the connector line up-down. (9.93 KB, application/vnd.oasis.opendocument.graphics)
2024-02-01 05:08 UTC, john
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2024-02-01 05:08:13 UTC
Description:
When moving a connector line ('Standard Connector') in LibreOffice Draw, the preview of the connector does not follow the same route as the connector finally takes when the mouse is released. Somehow the routing calculation must be different.

Additionally, the route taken by connectors is often very odd and attempts to correct the line routing (as per above) are also very temperamental.

Efficient and intuitive line routing is not a trivial topic -- quite some complex maths involved to do it properly. But it would be a big boost in the usefulness of LO Draw to have this done well -- a la Visio type functionality.

Steps to Reproduce:
1. create new Drawing
2. draw a blue box top left
3. draw another blue box bottom right
4. create 'standard connector' from bottom of top-left box to top of bottom right box. the connect should have three line segments, vertical then horizontal then vertical.
5. select the connector
6. drag the midpoint connector handle up and down.

Actual Results:
while dragging the connector, it flips to a vert-horiz-vert configuration, but when you release the mouse, it reverts to a horiz-vert-horiz connector again.

Expected Results:
the connector route should show the same whether actively dragging/moving or just displaying.


Reproducible: Always


User Profile Reset: No

Additional Info:
I will attach a sample file for steps 1-4.
Comment 1 john 2024-02-01 05:08:55 UTC
Created attachment 192312 [details]
steps 1-4 from description. load the file then move the connector line up-down.
Comment 2 Stéphane Guillou (stragu) 2024-02-01 06:35:44 UTC
Thank you for the report!
This is already tracked in bug 130937.

*** This bug has been marked as a duplicate of bug 130937 ***