Bug 405249 - .svg images imported into the timeline do not display text properly - font information is lost and line breaks do not work (the text displays on a single long line)
Summary: .svg images imported into the timeline do not display text properly - font in...
Status: RESOLVED DUPLICATE of bug 420675
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 18.12.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-09 03:09 UTC by tensaimon
Modified: 2021-03-16 13:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Brainstorm+


Attachments
screenshots of .svg in inkscape, firefox and kdenlive (142.68 KB, image/png)
2019-03-09 03:09 UTC, tensaimon
Details
an svg with fonts and line breaks that doesn't display in kdenlive-18.12.1b-x86_64 (3.50 KB, image/svg+xml)
2019-03-10 21:39 UTC, tensaimon
Details
a screenshot of the above svg displaying incorrectly in kdenlive-18.12.1b-x86_64 (159.89 KB, image/png)
2019-03-10 21:40 UTC, tensaimon
Details
an svg that displays a strange black line at the bottom in kdenlive (282.55 KB, image/svg+xml)
2019-03-10 21:57 UTC, tensaimon
Details
a screenshot of the above svg displaying a strange black line in kdenlive-18.12.1b-x86_64 (357.31 KB, image/png)
2019-03-10 22:01 UTC, tensaimon
Details
screenshot of inkscape svg not displaying properly in kdenlive (371.24 KB, image/png)
2019-03-12 21:30 UTC, tensaimon
Details
above svg for testing (38.98 KB, image/svg+xml)
2019-03-12 21:31 UTC, tensaimon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tensaimon 2019-03-09 03:09:31 UTC
Created attachment 118658 [details]
screenshots of .svg in inkscape, firefox and kdenlive

SUMMARY


STEPS TO REPRODUCE
1. create a .svg in inkscape that has text including fonts and line-breaks
2. import that svg into the kdenlive project bin
3. insert that svg into the timeline of a video 

OBSERVED RESULT
the text and line breaks will not display


EXPECTED RESULT
The text should display with font and line breaks

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: Linux Mint 19 Cinnamon
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 emohr 2019-03-10 20:01:49 UTC
Thank you for reporting. SVG issue is known. Could you upload your SVG for testing?
Comment 2 tensaimon 2019-03-10 21:39:14 UTC
Created attachment 118698 [details]
an svg with fonts and line breaks that doesn't display in kdenlive-18.12.1b-x86_64
Comment 3 tensaimon 2019-03-10 21:40:59 UTC
Created attachment 118700 [details]
a screenshot of the above svg displaying incorrectly in kdenlive-18.12.1b-x86_64
Comment 4 tensaimon 2019-03-10 21:56:39 UTC
I've just remembered another issue I've been having with svg - some svgs are displaying a black line across the bottom of the screen in kdenlive, the first thing I did which fixed the problem temporarily was turn off "show page shadow" in inkscape, but it came back. It doesn't seem to happen with all svgs but I can't figure out why some work and some don't. 

I'll attach an svg that displays the strange black line and screenshot of it in displaying the line kdenlive.
Comment 5 tensaimon 2019-03-10 21:57:34 UTC
Created attachment 118701 [details]
an svg that displays a strange black line at the bottom in kdenlive
Comment 6 tensaimon 2019-03-10 22:01:25 UTC
Created attachment 118702 [details]
a screenshot of the above svg displaying a strange black line in kdenlive-18.12.1b-x86_64
Comment 7 tensaimon 2019-03-10 22:02:45 UTC
Thanks for looking into this, I'm new to video editing and loving kdenlive, awesome tool, your hard work is much appreciated!
Comment 8 tensaimon 2019-03-12 21:30:45 UTC
Created attachment 118758 [details]
screenshot of inkscape svg not displaying properly in kdenlive

Sorry to keep posting problems, I hope you find it helpful - svg text seems to have moved to the right in kdenlive, also the bounding box transparency is displaying weirdly (in a way that means I'm going to need to make it another way)
Comment 9 tensaimon 2019-03-12 21:31:55 UTC
Created attachment 118759 [details]
above svg for testing

I'm attaching the svg file for testing
Comment 10 Utku BERBEROĞLU 2019-03-19 12:55:37 UTC
In XFCE desktop I have no problem. But in KDE, same problem seen in file manager thumbnail. And if I add svg in XFCE (Xubuntu), there is no problem on Kubuntu(KDE). If I remove svg on Kubuntu then readd problem appears.
Comment 11 Richard 2019-12-22 13:01:31 UTC
Hi I'm experiencing the same problems.  New lines are not displayed and text is moved to the right using SVG files imported from Inkscape.  I'm using Kdenlive 19.12.0 running on Ubuntu 19.10
Comment 12 Richard 2019-12-22 13:06:02 UTC
(In reply to Richard from comment #11)
> Hi I'm experiencing the same problems.  New lines are not displayed and text
> is moved to the right using SVG files imported from Inkscape.  I'm using
> Kdenlive 19.12.0 running on Ubuntu 19.10

Ah I forgot to add I'm actually using Kubuntu with Plasma 5.16.5
Comment 13 Christoph Feck 2019-12-22 13:28:15 UTC
QtSvg module only has limited support for SVG (it only supports the SVG Tiny subset).
Comment 14 Richard 2019-12-22 17:39:12 UTC
Well is the use of the (In reply to Christoph Feck from comment #13)
> QtSvg module only has limited support for SVG (it only supports the SVG Tiny
> subset).

Is the use of QTSvg new to version 19?  I never experienced this issue with previous versions of Kdenlive
Comment 15 Jamie Dow 2020-08-04 10:07:50 UTC
I too have this issue. And I can confirm that it is new to version 19 (and I'm using a 2020 version of Kdenlive too now).

It's very annoying! I'm having to convert every svg I make in Inkscape to a png, and do this for all those I'd previously created and had used without issue directly as svg files.
Why did it work before but not now?
Comment 16 Vincent PINON 2021-03-16 13:01:04 UTC

*** This bug has been marked as a duplicate of bug 420675 ***