Bug 56959

Summary: libvisio: Draw does not import properly MS Visio connectors
Product: LibreOffice Reporter: chjacob
Component: filters and storageAssignee: David Tardon <dtardon>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: medium CC: bob.swift, down.throw, dtardon, fridrich.strba, frob, leewsb, mikhail.v.gavrilov, serval2412
Version: 3.6.0.4 release   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Visio drawing with connector
The vsd file in Visio and Draw (after step 6)
screenshot with master sources updated today
Two rectangles with straight connector

Description chjacob 2012-11-10 17:57:11 UTC
Steps to reproduce the problem:

1. Start MS Visio 2007 and create new drawing
2. Draw two rectangles in it
3. Connect the rectangles with a connector
4. Save the drawing and close Visio
5. Open the drawing in LibreOffice Draw
6. Move the rectangles

The result: the connector from MS Visio is not imported as a connector in LibreOffice Draw.

LibreOffice Draw does not inform the user on opening Visio document that such a problem may arise.
Comment 1 Julien Nabet 2012-11-11 20:33:56 UTC
For those who don't have MsVisio (like me), could you:
- attach your file
- attach the screenshot of what you get on MsVisio
?
BTW, did you give a try to the newer version 3.6.3?
Comment 2 chjacob 2012-11-12 00:09:01 UTC
Created attachment 69920 [details]
Visio drawing with connector
Comment 3 chjacob 2012-11-12 00:19:34 UTC
Created attachment 69921 [details]
The vsd file in Visio and Draw (after step 6)
Comment 4 chjacob 2012-11-12 00:25:34 UTC
> BTW, did you give a try to the newer version 3.6.3?

Yes, I repeated the steps in LibreOffice version 3.6.3.2 and obtained the same result.
Comment 5 Julien Nabet 2012-11-13 21:40:40 UTC
Created attachment 70034 [details]
screenshot with master sources updated today

On pc Debian x86-64 with master sources updated today, I gave it a try.
It seems a little better but we still don't see the connectors.

Noticed these logs on console:
warn:legacy.osl:8554:1:/home/julien/compile-libreoffice/libo/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx:70: PolyPolygon object without geometry detected, this should not be created (!)
warn:legacy.osl:8554:1:/home/julien/compile-libreoffice/libo/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx:70: PolyPolygon object without geometry detected, this should not be created (!)
Comment 6 Julien Nabet 2012-11-13 21:41:21 UTC
Fridrich: one for you?
Comment 7 Regina Henschel 2012-11-18 23:03:14 UTC
Created attachment 70238 [details]
Two rectangles with straight connector

I see a similar problem on import of a presentation. The connector is imported as simple line not as connector.
Comment 8 Rainer Bielefeld Retired 2012-12-01 09:28:51 UTC
Comment on attachment 70238 [details]
Two rectangles with straight connector

I hope I found the correct mime type
Comment 9 Fridrich Strba 2013-04-16 09:51:03 UTC
*** Bug 60432 has been marked as a duplicate of this bug. ***
Comment 10 Fridrich Strba 2013-04-16 10:01:16 UTC
*** Bug 59266 has been marked as a duplicate of this bug. ***
Comment 11 Julien Nabet 2013-08-24 06:10:59 UTC
To give an update (master sources updated yesterday), there's still no connector with first attachment.
I noticed this too:
warn:legacy.osl:14059:1:svx/source/sdr/contact/viewcontactofsdrpathobj.cxx:67: PolyPolygon object without geometry detected, this should not be created (!)
warn:legacy.osl:14059:1:svx/source/sdr/contact/viewcontactofsdrpathobj.cxx:67: PolyPolygon object without geometry detected, this should not be created (!)
Comment 12 David Tardon 2013-11-11 13:24:47 UTC
Connectors are not supported by the libwpg api libvisio uses (IOW, to import them as lines is the only possibility). This is going to change in near future.
Comment 13 David Tardon 2014-01-22 07:29:42 UTC
*** Bug 73908 has been marked as a duplicate of this bug. ***
Comment 14 David Tardon 2014-12-18 15:04:44 UTC
*** Bug 81827 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.