Bug 56959 - libvisio: Draw does not import properly MS Visio connectors
Summary: libvisio: Draw does not import properly MS Visio connectors
Status: NEW
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libvisio (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 59266 60432 73908 81827 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-10 17:57 UTC by chjacob
Modified: 2019-07-24 14:48 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Visio drawing with connector (14.50 KB, application/vnd.visio)
2012-11-12 00:09 UTC, chjacob
Details
The vsd file in Visio and Draw (after step 6) (166.45 KB, image/png)
2012-11-12 00:19 UTC, chjacob
Details
screenshot with master sources updated today (76.28 KB, image/png)
2012-11-13 21:40 UTC, Julien Nabet
Details
Two rectangles with straight connector (21.03 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2012-11-18 23:03 UTC, Regina Henschel
Details
Screenshot of opened attachment 69920 'Connector.vsd' in LibreOffice (62.39 KB, image/png)
2015-02-02 09:45 UTC, Maarten Hoes
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***
Comment 15 Maarten Hoes 2015-02-02 09:45:44 UTC
Created attachment 113044 [details]
Screenshot of opened attachment 69920 [details] 'Connector.vsd' in LibreOffice

I can no longer reproduce this error when opening the 1st attachment (69920) 'Connector.svg' on Windows 8.1, with LibreOffice: 
'libo-master~2015-02-01_13.19.39_LibreOfficeDev_4.5.0.0.alpha0_Win_x86.msi' 
Build ID: 'bfceafa67ed1cc3e4e03f8f214a2716f57b2d1e7'.
Comment 16 David Tardon 2015-02-02 12:32:53 UTC
(In reply to Maarten Hoes from comment #15)
> I can no longer reproduce this error when opening the 1st attachment (69920)
> 'Connector.svg' on Windows 8.1, with LibreOffice: 

Are you quite sure? Nobody has implemented support for connectors yet...
Comment 17 Lee 2015-02-16 14:24:58 UTC
Problem still exists
Comment 18 Roman Kuznetsov 2018-12-26 14:07:21 UTC
still repro in

Version: 6.2.0.1
Build ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded
Comment 20 Bartosz 2019-07-24 14:48:33 UTC
Detection of connectors are implemented here:
https://gerrit.libreoffice.org/#/c/75649/