Bug 80504 - EDITING: Connector reroutes off the page
Summary: EDITING: Connector reroutes off the page
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Connectors
  Show dependency treegraph
Reported: 2014-06-24 23:39 UTC by Roger Worden
Modified: 2018-03-17 13:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Good connector (35.60 KB, image/png)
2014-06-24 23:39 UTC, Roger Worden
Bad connector (46.21 KB, image/png)
2014-06-24 23:39 UTC, Roger Worden
Good connector (35.60 KB, image/png)
2014-06-24 23:40 UTC, Roger Worden
Diagram file (44.38 KB, application/vnd.oasis.opendocument.graphics)
2014-06-25 17:23 UTC, Roger Worden
Diagram file with links broken (61.30 KB, application/vnd.oasis.opendocument.graphics)
2014-06-25 20:25 UTC, Roger Worden
Screenshot of test file in LO5204 (180.25 KB, image/png)
2016-09-01 12:57 UTC, Alex Thurgood

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Worden 2014-06-24 23:39:22 UTC
Created attachment 101705 [details]
Good connector

Connector that has one bend reroutes itself off the page. Saving the file fixes it temporarily, but navigating or exporting to PDF causes it to reoccur. With multiple such connectors in a multi-page document, it became impossible to print a clean copy. Using Modify > Convert > To Curve makes the connector into a different object which does not have this rerouting problem. See the attached images.
Comment 1 Roger Worden 2014-06-24 23:39:51 UTC
Created attachment 101706 [details]
Bad connector
Comment 2 Roger Worden 2014-06-24 23:40:42 UTC
Created attachment 101707 [details]
Good connector
Comment 3 Regina Henschel 2014-06-25 16:07:31 UTC
Please attach the problematic document too.
Comment 4 Roger Worden 2014-06-25 17:23:05 UTC
Created attachment 101753 [details]
Diagram file

On page 9, the two connectors labeled "onbar" will often reroute off the bottom of the page.

On page 10, the connector labeled "Informix replication" will often do the same.

Often navigating to the page, or saving the document, will reset the routing. But navigating to other pages, printing to a printer, or exporting to a PDF will cause it to happen again.
Comment 5 Regina Henschel 2014-06-25 18:32:56 UTC
I can reproduce the problem with your attached document using Version:
Build ID: 63150712c6d317d27ce2db16eb94c2f3d7b699f8 on Windows 7, and using Version: Build ID: 18c786cbcd45ee314bed6303c62e23ecf4022a8b
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-06-12_13:31:10

But I'm not sure. The wrong routing might be caused by the placeholders for the not found graphics. Can you please attach the file again, but break the links before upload.

I have repaired (Edit > Links > Modify) the links to the graphics to point to my Gallery folders and then saved the document with "saved as" under a new name. That forces the connectors to be recalculated and they jump to the correct route. With that file there are no longer routing problems.
Comment 6 Roger Worden 2014-06-25 20:25:34 UTC
Created attachment 101764 [details]
Diagram file with links broken
Comment 7 Regina Henschel 2014-06-25 20:44:49 UTC
Your file "Diagram file with links broken" has always correct routing of the connectors for me, in both tested LO versions.
Comment 8 Roger Worden 2014-06-25 21:14:13 UTC
Breaking the links seems to work for me as well. I'm new to LO - I assume normally we should *not* need to break links?

I probably should have mentioned that I had added a glue point in the center of the objects which are involved in the misrouted connectors. These specific connectors do not use the added glue points, but other connectors do. That may help in locating the source of the bug.
Comment 9 Alex Thurgood 2014-10-06 16:37:11 UTC
Can not reproduce with alleged bad connector document on LO

Build ID: edfb5295ba211bd31ad47d0bad0118690f76407d

OSX 10.9.5
Comment 10 Alex Thurgood 2014-10-06 16:40:36 UTC
Oops, spoke too soon.
The first time I navigated through the document, the connectors were displayed correctly, the when I scrolled up through the pages from the last page the connectors were displayed off the page

Comment 11 Alex Thurgood 2014-10-06 16:42:11 UTC
There is a noticeable delay when switching slides whilst the objects are redrawn and displayed. The redraw seems to cause the connector misalignment
Comment 12 tommy27 2016-04-16 07:24:44 UTC Comment hidden (obsolete)
Comment 13 Heiko Tietze 2016-04-29 09:04:59 UTC
The attached odg looks fine with v5. (LibO Fresh on Arch Linux). Please verify that the issue has been fixed.
Comment 14 Alex Thurgood 2016-09-01 12:57:04 UTC
Still not fixed 

Build ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU Threads: 2; OS Version: Mac OS X 10.11.6; UI Render: default; 
Locale: en-GB (fr.UTF-8)

In fact, I would say the diagram looks even worse now than it did when I previously tested it. Not only do the connectors go off the page, but the text box objects look terrible, all overlapping.
Comment 15 Alex Thurgood 2016-09-01 12:57:42 UTC
Created attachment 127110 [details]
Screenshot of test file in LO5204
Comment 16 eisa01 2018-03-17 13:10:55 UTC
This works fine for me now

Build ID: 8e8dd8f320a3ff59ff8a16c1a7a867888ce80700
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-03-13_23:59:29
Locale: en-US (en_US.UTF-8); Calc: group