Bug 67514

Summary: EDITING: SVG graphic does not import correctly
Product: LibreOffice Reporter: Jose Gómez <adler>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: VERIFIED WORKSFORME QA Contact:
Severity: major    
Priority: high CC: jmadero.dev, jorendc, qubit
Version: 4.0.0.3 releaseKeywords: regression
Hardware: All   
OS: Linux (All)   
Whiteboard: BSA bibisected (target:4.2.0)
i915 platform: i915 features:
Attachments: File that is not correctly imported
Correct render (PNG version)

Description Jose Gómez 2013-07-30 03:08:35 UTC
Created attachment 83254 [details]
File that is not correctly imported

Problem description: Some SVG files are not correctly imported in Writer

Steps to reproduce:
1. Create a new file
2. Import the attached SVG
3. Compare the graph with the expected view (attached png)

Current behavior:
The horizontal discontinuous lines cannot be seen in the imported SVG

Expected behavior:
The horizontal discontinuous lines should be visible in the imported SVG, like it appears in the PNG version

Operating System: Ubuntu
Version: 4.1.0.4 release
Comment 1 Jose Gómez 2013-07-30 03:10:25 UTC
Created attachment 83255 [details]
Correct render (PNG version)

Attached the SVG converted to PNG, in order to illustrate how it should look like.
Comment 2 Joel Madero 2013-07-30 04:02:50 UTC
Thank you for reporting this issue! I have been able to confirm the issue on:
Version 4.1 release
Platform: Bodhi Linux 2.2 x64
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
As I've been able to confirm this problem:

Marking as:

New (confirmed)
Major - loss of data
High

Keywords - regression (works on 3.6)

Whiteboard Status - bibisected


NOTE: The problem is fixed on master - so it's a matter of cherry picking the fix, hopefully bibisect helps find it

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 3 Joel Madero 2013-07-30 04:03:46 UTC
I had to skip a lot because there was a mess with svg in 4 so I skipped 4 times, hopefully range is good enough:


There are only 'skip'ped commits left to test.
The first bad commit could be any of:
47498a36f7af8f54e6e3dda89cd4708802a409e6
9ec4be63ed5281f2e9364b140da69291c7abc348
769583027b0158ac4b497355b0495fca5c54f53b
7b32edd2389319e0d394368c4109201528c41f7e
6095212a5bd192017c6a20ee10de26a163372e8c
915b1e16f20d5ce2a32f911ef051103455600845
b17eb9ea515cf4b5bf60dd2b6860febf0806a9bd
fb4214f9d134b556582a4a5280e5458de5f8eebd
5dddcff8ae35692d89751ae98ab8acbbf802b5b4
9a5620ca6473969359f262802c76daf35cbcbb5d
fad6aba1675531a031872af655be5756c5012cb9
We cannot bisect more!



# bad: [5b4b36d87517a6ea96ff8c84c46b12f462fc9a1a] source-hash-8450a99c744e9005f19173e4df35d65640bcf5c4
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00] source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect start 'latest' 'oldest'
# good: [16b0b88cbd4ef0f51816e97277e40c5cf78f7bf9] source-hash-099198a4224778fe6e43f5dc13b5b9b1b4dc828c
git bisect good 16b0b88cbd4ef0f51816e97277e40c5cf78f7bf9
# good: [f28b8f9a6c47fa59bf98fffe937a2f2db7a2445a] source-hash-a581d31b227623e09d2970a91214fda398f98eda
git bisect good f28b8f9a6c47fa59bf98fffe937a2f2db7a2445a
# good: [114fd3b76bcba890e6d702d00cef910f1493c262] source-hash-64ab96cd15e52da88781e720d6f031dbcd0ba902
git bisect good 114fd3b76bcba890e6d702d00cef910f1493c262
# skip: [47498a36f7af8f54e6e3dda89cd4708802a409e6] source-hash-19f4ebd8a54da0ae03b9cc8481613e5cd20ee1e7
git bisect skip 47498a36f7af8f54e6e3dda89cd4708802a409e6
# bad: [99fa32bfa0d6116217da0834f3a630b3775aa16a] source-hash-246ffb108c7e1f762f8d497750ad2414b85b99ef
git bisect bad 99fa32bfa0d6116217da0834f3a630b3775aa16a
# skip: [9a5620ca6473969359f262802c76daf35cbcbb5d] source-hash-ae4e4a11d4300f7448cb6bd170fcb034542caddc
git bisect skip 9a5620ca6473969359f262802c76daf35cbcbb5d
# skip: [6095212a5bd192017c6a20ee10de26a163372e8c] source-hash-a599f5b4b51848e3b397d471c9d12b373caadcef
git bisect skip 6095212a5bd192017c6a20ee10de26a163372e8c
# skip: [b17eb9ea515cf4b5bf60dd2b6860febf0806a9bd] source-hash-b6c016da23d309b4ac7d154bc33a22397974ed73
git bisect skip b17eb9ea515cf4b5bf60dd2b6860febf0806a9bd
# skip: [fb4214f9d134b556582a4a5280e5458de5f8eebd] source-hash-683758efb22d08a4cf211a6d985148f513da2a90
git bisect skip fb4214f9d134b556582a4a5280e5458de5f8eebd
# skip: [915b1e16f20d5ce2a32f911ef051103455600845] source-hash-9210b95bcfd65ae558f445666d9b880e794d4c74
git bisect skip 915b1e16f20d5ce2a32f911ef051103455600845
# good: [7f50375c2cf8bf1e026f61f11ae9666648687164] source-hash-d281a19e1d06856f863788f3344ad42ed1566669
git bisect good 7f50375c2cf8bf1e026f61f11ae9666648687164
# skip: [5dddcff8ae35692d89751ae98ab8acbbf802b5b4] source-hash-d85fd8a85501547d5bb87822d2589a07aed7f2d6
git bisect skip 5dddcff8ae35692d89751ae98ab8acbbf802b5b4
# skip: [9ec4be63ed5281f2e9364b140da69291c7abc348] source-hash-a1ac2538e9b287444500618ab4d2f0f06c25cf34
git bisect skip 9ec4be63ed5281f2e9364b140da69291c7abc348
# skip: [7b32edd2389319e0d394368c4109201528c41f7e] source-hash-44b96a2fce52b6e3e683dc917fab219cf75001db
git bisect skip 7b32edd2389319e0d394368c4109201528c41f7e
# skip: [769583027b0158ac4b497355b0495fca5c54f53b] source-hash-a43a76cd5aa2f145f2cb43fcdbc8f21fb6c89af0
git bisect skip 769583027b0158ac4b497355b0495fca5c54f53b
# good: [e2e46267c18c2706de771a08472ebfce19f68520] source-hash-4316e643ef345b0f673b4a03a80a4b7cb3185588
git bisect good e2e46267c18c2706de771a08472ebfce19f68520
# bad: [fad6aba1675531a031872af655be5756c5012cb9] source-hash-d38a2e3ea04d354492df18aa16d2304babe87dfb
git bisect bad fad6aba1675531a031872af655be5756c5012cb9
Comment 4 Jose Gómez 2013-08-15 16:16:19 UTC
Confirmed working perfectly in LibreOffice 3.6.7 in Windows. 4.0.0.3, and
4.1.1 are not behaving correctly.
Comment 5 Jose Gómez 2013-09-04 03:43:04 UTC
The issue is confirmed fixed in the daily dev build: http://dev-builds.libreoffice.org/daily/master/Linux-x86-64@8-SLED11/2013-08-30_00.08.45/
Comment 6 Jorendc 2013-10-04 11:09:06 UTC
(In reply to comment #4)
> Confirmed working perfectly in LibreOffice 3.6.7 in Windows. 4.0.0.3, and
> 4.1.1 are not behaving correctly.

So marking it as a bug of version 4.0.0.3

(In reply to comment #5)
> The issue is confirmed fixed in the daily dev build:
> http://dev-builds.libreoffice.org/daily/master/Linux-x86-64@8-SLED11/2013-08-
> 30_00.08.45/

So a possible target for this bug is 4.2.0. Would be interesting to verify it with the release of 4.2.0 (first beta versions will be released somewhere middle/end November 2013)

Kind regards,
Joren
Comment 7 Robinson Tryon (qubit) 2013-10-19 00:11:19 UTC
Remove comma from whiteboard.
Comment 8 Jorendc 2013-12-29 21:24:59 UTC
(In reply to comment #5)
> The issue is confirmed fixed in the daily dev build:
> http://dev-builds.libreoffice.org/daily/master/Linux-x86-64@8-SLED11/2013-08-
> 30_00.08.45/

Can confirm that, tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha0+
Build ID: 5be7ec4193b892e5643ff5f3f2e6755319569190
TinderBox: Win-x86@39, Branch:master, Time: 2013-12-27_23:55:02

As mentioned, fixed in 4.2.0. Big chance fix will not be backported to 4.1-branch.

So lets mark this one as VERIFIED WORKSFORME (we don't know what commit fixed this issue).

Kind regards,
Joren

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.