https://bugs.freedesktop.org/show_bug.cgi?id=51188

             Bug #: 51188
           Summary: EDITING: "Undo" causes bizarre results after moving
                    one end of a connector.
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.4 release
          Platform: x86-64 (AMD64)
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Drawing
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Steps to reproduce:

1. Create a connector (ends can be attached to an object, or not).
2. Drag one endpoint to another location (attached to a glue point or not). The
new location must change the relative order in the x direction (e.g. endpoint A
goes from the left of endpoint B to the right) or in the y direction, or both.
3. Hit undo.

Expected results:

Connector returns to its original state, as it was just before the move.

Actual results:

- The connector does not return to its original shape, but does change
size/location. (I have occasionally seen changes in color if the color was
changed.) Even if all control points return to their original locations,
routing might still change! (Because a vertical-horizontal-vertical pattern can
change to a horizontal-vertical-horizontal one.)

- The connector sometimes cannot be selected, because it is not "actually"
located in the place where it is displayed.

- Other connectors connected to the moving connector (e.g. attached to its
midpoint) may move about in strange ways.

- Copying/pasting the connector may change its shape and/or location relative
to other objects. This is easiest to see if you simply duplicate an Impress
slide containing a buggy connector, in which case the routing is likely to
change.

- For at least some formats, saving and then reopening the file will cause both
the buggy connector, and copies of it, to change locations and shapes (not
always in the same way!). For instance, this can happen with .ppt format.

Here is a quick list of bugs that are probably related (it's difficult to say
"duplicate", because there are several features of these bugs and it's hard to
tell which ones truly have the same root cause):

Selection buggy behavior from moving the endpoint of a connector in the same
way (without undo): https://bugs.freedesktop.org/show_bug.cgi?id=44534

Probable duplicate of the above, mentioning a different (?) strange interaction
with undo:
https://bugs.freedesktop.org/show_bug.cgi?id=45772

The same buggy behavior from moving the endpoint of a connector to a new glue
point (does not specify relative x/y positions of result):
https://bugs.freedesktop.org/show_bug.cgi?id=50314

Copy/paste of connector between Writer and Impress not preserving routing:
https://bugs.freedesktop.org/show_bug.cgi?id=37968

Copy/paste within Impress and duplication of slide not preserving shape:
https://bugs.freedesktop.org/show_bug.cgi?id=34130

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to