Bug 34130 - Duplicating slides triggers strange behavior in connectors
Summary: Duplicating slides triggers strange behavior in connectors
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 05:30 UTC by LucTur
Modified: 2013-08-14 22:26 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document that triggers a bug in connectors (8.92 KB, application/vnd.oasis.opendocument.graphics)
2011-02-10 05:30 UTC, LucTur
Details
An image of the connectors bug (14.00 KB, image/jpeg)
2011-02-10 05:32 UTC, LucTur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LucTur 2011-02-10 05:30:43 UTC
Created attachment 43197 [details]
Test document that triggers a bug in connectors

How to trigger this bug:

a) open the attached test document;
b) duplicate the first slide by selecting 'Insert -> Duplicate Slide' from the menu bar.

What is expected:

the slide is duplicated with no change.

What is the actual result:

the connectors change their relative position.

More info about this bug here:

http://www.mail-archive.com/users@libreoffice.org/msg02204.html
Comment 1 LucTur 2011-02-10 05:32:27 UTC
Created attachment 43198 [details]
An image of the connectors bug

A visual representation of the bug
Comment 2 Luuk 2011-02-10 05:40:33 UTC
I changed platform from 'Other' to 'All' because i have seen this happen on Windows7 and on Linux (openSUSE)

And, i did serv version in this bug to 'LibO 3.3.30 Release' because thats the version i was using, and is also in the subject of the thread on the forum
(http://nabble.documentfoundation.org/Draw-Connectors-change-position-when-I-close-and-open-LibreOffice-3-3-0-td2464426.html)

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 3 LucTur 2011-02-10 07:20:29 UTC
More info: I've tested OOo 3.3 and it works exactly like LibO.
Comment 4 Rainer Bielefeld Retired 2011-02-10 08:50:15 UTC
[Reproducible] with "LibreOffice 3.3.0 RC4 - WIN7  Home Premium (64bit) German UI  [OOO330m19 (build 6 / tag 3.3.0.4)]". I also see the strange behavior with drawint in sample document when
1. <cntrl>+<a> to select all
2. <cntrl>+<x> to cut all
3. <cntrl>+<v> to paste contents
   expected: no changes
   actual: connector route modified

Same with copy / paste drawing contents

I was not able to create an own sample document "from the scratch"

@LucTur:
can you contribute a step by step instruction how to create a sample document behaving like your sample?
Comment 5 LucTur 2011-02-11 00:56:00 UTC
@ Rainer Bielefeld: for further info you have to ask Luuk (he's in CC in this bug), because the attached document was originally created by him.
Comment 6 Luuk 2011-02-11 01:19:24 UTC
About creating a sample document...

I was trying to reproduce the steps to create such a document. But the 'original' was a quick an (first) play with LibO-draw, so its hard to reproduce.

But i think i found a direction in where to search.

It has to do with moving rectangles, or aligning them to each other. After this is seems possible that the connectors are no longer 'snapped' to the grid.

When opening the test-dcoument, and moving the top-reactange, you can see the connector is moving (or 'snapping' to grid)

When moving the bottom-reactange, connectors do keep aligned better/correct.

I hope this info was good enough to bring you close to a sollution ;)
Comment 7 Kyutums 2011-02-13 22:49:53 UTC
Opened the test file in OO 3.2.1 and the bug is there too.
Comment 8 Björn Michaelsen 2011-12-23 11:49:46 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 9 sasha.libreoffice 2012-03-24 01:23:22 UTC
reproduced in 3.3.4 and 3.5.1 on Fedora 64 bit
Comment 10 bfoman (inactive) 2013-08-14 22:26:53 UTC
Checked with:
Version: 4.2.0.0.alpha0+
Build ID: 087a610fcd5c0c354a9ed6bfccd3451b667d62a3
TinderBox: Win-x86@6-debug, Branch:master, Time: 2013-08-04_21:41:24
Windows 8.1 Enterprise Preview 64 bit

Could not reproduce.

(In reply to comment #4)
> 1. <cntrl>+<a> to select all
> 2. <cntrl>+<x> to cut all
> 3. <cntrl>+<v> to paste contents
>    expected: no changes
>    actual: connector route modified
> Same with copy / paste drawing contents

Could not reproduce.